BIND 10 trac2522, updated. 6620f7a7d1c0d952ad6da4b1441608cf56c2702b [2522] trivial style cleanup: folded long lines
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue May 14 23:36:24 UTC 2013
The branch, trac2522 has been updated
via 6620f7a7d1c0d952ad6da4b1441608cf56c2702b (commit)
from 0857d558e83343a266e8bf67f835017c07f773c0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6620f7a7d1c0d952ad6da4b1441608cf56c2702b
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue May 14 16:36:12 2013 -0700
[2522] trivial style cleanup: folded long lines
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/rdata/any_255/tsig_250.cc | 15 ++++++++++-----
1 file 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 c54f33a..66d6123 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");
}
More information about the bind10-changes
mailing list