|
@@ -147,8 +147,8 @@ TSIG::constructFromLexer(MasterLexer& lexer, const Name* origin) {
|
|
|
} else if (error_txt == "BADTRUNC") {
|
|
|
error = TSIGError::BAD_TRUNC_CODE;
|
|
|
} else {
|
|
|
- /// we cast to uint32_t and range-check, because casting directly to
|
|
|
- /// uint16_t will convert negative numbers to large positive numbers
|
|
|
+ /// we cast to uint32_t and range-check, because casting directly to
|
|
|
+ /// uint16_t will convert negative numbers to large positive numbers
|
|
|
try {
|
|
|
error = boost::lexical_cast<uint32_t>(error_txt);
|
|
|
} catch (const boost::bad_lexical_cast&) {
|
|
@@ -2230,8 +2230,8 @@ MINFO::MINFO(const std::string& minfo_str) :
|
|
|
MasterLexer lexer;
|
|
|
lexer.pushSource(ss);
|
|
|
|
|
|
- rmailbox_ = createNameFromLexer(lexer, NULL);
|
|
|
- emailbox_ = createNameFromLexer(lexer, NULL);
|
|
|
+ rmailbox_ = createNameFromLexer(lexer, NULL);
|
|
|
+ emailbox_ = createNameFromLexer(lexer, NULL);
|
|
|
|
|
|
if (lexer.getNextToken().getType() != MasterToken::END_OF_FILE) {
|
|
|
isc_throw(InvalidRdataText, "extra input text for MINFO: "
|