2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[1781] small editorial/style fixes: updated comment and use unnamed namespace.

the previous "TODO" comment was a leftover when I moved it from the datasrc
test.  also moved the callback function to the unnamed namespace as it
doesn't have to be referrable from others.
This commit is contained in:
JINMEI Tatuya
2012-04-16 14:02:50 -07:00
parent d78d0dbcec
commit 136e63b823

View File

@@ -86,10 +86,8 @@ matchRdata(const char*, const char*,
}
return (::testing::AssertionSuccess());
}
}
// TODO: maybe we should share this stuff
// A helper callback of masterLoad() used in InMemoryZoneFinderTest.
// A helper callback of masterLoad() used by textToRRset() below.
void
setRRset(RRsetPtr rrset, RRsetPtr* rrsetp) {
if (*rrsetp) {
@@ -98,6 +96,7 @@ setRRset(RRsetPtr rrset, RRsetPtr* rrsetp) {
}
*rrsetp = rrset;
}
}
RRsetPtr
textToRRset(const string& text_rrset, const RRClass& rrclass) {