]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2157] some more trivial style fixes
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 14 Nov 2012 07:33:15 +0000 (23:33 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 14 Nov 2012 07:33:15 +0000 (23:33 -0800)
src/bin/auth/tests/auth_srv_unittest.cc
src/bin/auth/tests/statistics_unittest.cc.pre

index 4ea4c8b5a04ba3fb75e3d0065c5cca5306ceec5f..d44c323c2727717f7600891e6a794187eb125cbb 100644 (file)
@@ -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);
 }
index cc58ec7b5d646e0ebb055fc2ee75aae0abc7e363..1e04de2a7524fd99b513d98a72db9261775d9f5e 100644 (file)
@@ -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