mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 07:25:18 +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:
@@ -86,10 +86,8 @@ matchRdata(const char*, const char*,
|
|||||||
}
|
}
|
||||||
return (::testing::AssertionSuccess());
|
return (::testing::AssertionSuccess());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: maybe we should share this stuff
|
// A helper callback of masterLoad() used by textToRRset() below.
|
||||||
// A helper callback of masterLoad() used in InMemoryZoneFinderTest.
|
|
||||||
void
|
void
|
||||||
setRRset(RRsetPtr rrset, RRsetPtr* rrsetp) {
|
setRRset(RRsetPtr rrset, RRsetPtr* rrsetp) {
|
||||||
if (*rrsetp) {
|
if (*rrsetp) {
|
||||||
@@ -98,6 +96,7 @@ setRRset(RRsetPtr rrset, RRsetPtr* rrsetp) {
|
|||||||
}
|
}
|
||||||
*rrsetp = rrset;
|
*rrsetp = rrset;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
RRsetPtr
|
RRsetPtr
|
||||||
textToRRset(const string& text_rrset, const RRClass& rrclass) {
|
textToRRset(const string& text_rrset, const RRClass& rrclass) {
|
||||||
|
Reference in New Issue
Block a user