Browse Source

Merge branch 'trac2157_2' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2157_2

Yoshitaka Aharen 12 years ago
parent
commit
4f7957ecd5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/bin/auth/auth_srv.cc
  2. 1 1
      src/bin/auth/tests/statistics_unittest.cc.pre

+ 1 - 1
src/bin/auth/auth_srv.cc

@@ -556,7 +556,7 @@ AuthSrv::processMessage(const IOMessage& io_message, Message& message,
         // statistics: check TSIG attributes
         // SIG(0) is currently not implemented in Auth
         impl_->stats_attrs_.setQuerySig(true, false,
-                                       tsig_error != TSIGError::NOERROR());
+                                        tsig_error != TSIGError::NOERROR());
     }
 
     if (tsig_error != TSIGError::NOERROR()) {

+ 1 - 1
src/bin/auth/tests/statistics_unittest.cc.pre

@@ -145,7 +145,7 @@ countTreeElements(const struct CounterTypeTree* tree) {
             count += countTreeElements(tree[i].sub_tree);
         }
     }
-    return count;
+    return (count);
 }
 
 TEST(StatisticsItemsTest, QRItemNamesCheck) {