Browse Source

[2157] some more trivial style fixes

JINMEI Tatuya 12 years ago
parent
commit
82896b5341

+ 2 - 1
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);
 }

+ 1 - 1
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