summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/rdata
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2013-05-15 01:36:12 +0200
committerPaul Selkirk <pselkirk@isc.org>2013-05-16 05:37:33 +0200
commit9eab41529f7da65498b241f988a8ca096a4286c8 (patch)
tree5d2fc7e4eccce465a2a3138194daa9672eef8614 /src/lib/dns/rdata
parent[2522] fix a typo (diff)
downloadkea-9eab41529f7da65498b241f988a8ca096a4286c8.tar.xz
kea-9eab41529f7da65498b241f988a8ca096a4286c8.zip
[2522] trivial style cleanup: folded long lines
Diffstat (limited to 'src/lib/dns/rdata')
-rw-r--r--src/lib/dns/rdata/any_255/tsig_250.cc15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/lib/dns/rdata/any_255/tsig_250.cc b/src/lib/dns/rdata/any_255/tsig_250.cc
index c54f33a3c4..66d612397f 100644
--- a/src/lib/dns/rdata/any_255/tsig_250.cc
+++ b/src/lib/dns/rdata/any_255/tsig_250.cc
@@ -81,7 +81,8 @@ TSIG::constructFromLexer(MasterLexer& lexer) {
const Name root(".");
const Name& algorithm = createNameFromLexer(lexer, &root);
- const string time_str = lexer.getNextToken(MasterToken::STRING).getString();
+ const string time_str =
+ lexer.getNextToken(MasterToken::STRING).getString();
uint64_t time_signed;
try {
time_signed = boost::lexical_cast<uint64_t>(time_str);
@@ -96,7 +97,8 @@ TSIG::constructFromLexer(MasterLexer& lexer) {
if (fudge > 0xffff) {
isc_throw(InvalidRdataText, "TSIG Fudge out of range");
}
- const uint32_t macsize = lexer.getNextToken(MasterToken::NUMBER).getNumber();
+ const uint32_t macsize =
+ lexer.getNextToken(MasterToken::NUMBER).getNumber();
if (macsize > 0xffff) {
isc_throw(InvalidRdataText, "TSIG MAC Size out of range");
}
@@ -109,12 +111,14 @@ TSIG::constructFromLexer(MasterLexer& lexer) {
isc_throw(InvalidRdataText, "TSIG MAC Size and data are inconsistent");
}
- const uint32_t orig_id = lexer.getNextToken(MasterToken::NUMBER).getNumber();
+ const uint32_t orig_id =
+ lexer.getNextToken(MasterToken::NUMBER).getNumber();
if (orig_id > 0xffff) {
isc_throw(InvalidRdataText, "TSIG Original ID out of range");
}
- const string error_txt = lexer.getNextToken(MasterToken::STRING).getString();
+ const string error_txt =
+ lexer.getNextToken(MasterToken::STRING).getString();
uint16_t error = 0;
// XXX: In the initial implementation we hardcode the mnemonics.
// We'll soon generalize this.
@@ -134,7 +138,8 @@ TSIG::constructFromLexer(MasterLexer& lexer) {
}
}
- const int32_t otherlen = lexer.getNextToken(MasterToken::NUMBER).getNumber();
+ const int32_t otherlen =
+ lexer.getNextToken(MasterToken::NUMBER).getNumber();
if (otherlen > 0xffff) {
isc_throw(InvalidRdataText, "TSIG Other Len out of range");
}