Commit 7c42c6d3 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] a trivial style cleanup: do not rely on explicit conversion

from a pointer to bool (following BIND 9's style convention).
so trivial, skipping review.
parent 6d9d7b76
......@@ -253,7 +253,7 @@ struct MemoryZone::MemoryZoneImpl {
}
// handle type any query
if (target && !node->getData()->empty()) {
if (target != NULL && !node->getData()->empty()) {
// Empty domain will be handled as NXRRSET by normal processing
for (found = node->getData()->begin();
found != node->getData()->end(); found++)
......
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