BIND 10 trac2157_2, updated. 82896b534152bc5c29d8db5939965c073e283dd4 [2157] some more trivial style fixes

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Nov 14 07:33:27 UTC 2012


The branch, trac2157_2 has been updated
       via  82896b534152bc5c29d8db5939965c073e283dd4 (commit)
      from  72c2349d91de8ab45839a701b6befe30f04d542b (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 82896b534152bc5c29d8db5939965c073e283dd4
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Nov 13 23:33:15 2012 -0800

    [2157] some more trivial style fixes

-----------------------------------------------------------------------

Summary of changes:
 src/bin/auth/tests/auth_srv_unittest.cc       |    3 ++-
 src/bin/auth/tests/statistics_unittest.cc.pre |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/auth_srv_unittest.cc b/src/bin/auth/tests/auth_srv_unittest.cc
index 4ea4c8b..d44c323 100644
--- a/src/bin/auth/tests/auth_srv_unittest.cc
+++ b/src/bin/auth/tests/auth_srv_unittest.cc
@@ -435,7 +435,8 @@ TEST_F(AuthSrvTest, TSIGCheckFirst) {
     // TSIG should have failed, and so the per opcode counter shouldn't be
     // incremented.
     ConstElementPtr stats = server.getStatistics();
-    expectCounterItem(stats->get("zones")->get("_SERVER_")->get("opcode"), "other", 0);
+    expectCounterItem(stats->get("zones")->get("_SERVER_")->get("opcode"),
+                      "other", 0);
 
     checkAllRcodeCountersZeroExcept(Rcode::NOTAUTH(), 1);
 }
diff --git a/src/bin/auth/tests/statistics_unittest.cc.pre b/src/bin/auth/tests/statistics_unittest.cc.pre
index cc58ec7..1e04de2 100644
--- a/src/bin/auth/tests/statistics_unittest.cc.pre
+++ b/src/bin/auth/tests/statistics_unittest.cc.pre
@@ -55,7 +55,7 @@ protected:
 };
 
 void
-flatten(std::map<std::string, int> &flat_map, const std::string &prefix,
+flatten(std::map<std::string, int>& flat_map, const std::string& prefix,
         const isc::data::ConstElementPtr map_element) {
     std::map<std::string, ConstElementPtr> map = map_element->mapValue();
     for (std::map<std::string, ConstElementPtr>::const_iterator



More information about the bind10-changes mailing list