Commit 82896b53 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2157] some more trivial style fixes

parent 72c2349d
......@@ -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);
}
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment