Parcourir la source

[2522] minor style fixes

JINMEI Tatuya il y a 12 ans
Parent
commit
ef6d944327

+ 2 - 2
src/lib/dns/rdata/any_255/tsig_250.cc

@@ -153,8 +153,8 @@ TSIG::constructFromLexer(MasterLexer& lexer) {
     }
     // also verify Error == BADTIME?
 
-    return new TSIGImpl(algorithm, time_signed, fudge, mac, orig_id,
-                        error, other_data);
+    return (new TSIGImpl(algorithm, time_signed, fudge, mac, orig_id,
+                         error, other_data));
 }
 
 /// \brief Constructor from string.

+ 2 - 1
src/lib/dns/rdata/generic/minfo_14.cc

@@ -32,7 +32,8 @@ using isc::dns::rdata::generic::detail::createNameFromLexer;
 // BEGIN_RDATA_NAMESPACE
 
 // helper function for string and lexer constructors
-void MINFO::constructFromLexer(MasterLexer& lexer, const Name* origin) {
+void
+MINFO::constructFromLexer(MasterLexer& lexer, const Name* origin) {
     rmailbox_ = createNameFromLexer(lexer, origin);
     emailbox_ = createNameFromLexer(lexer, origin);
 }