Commit 56adb44d authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

simplified the flag handling logic, based on a review comment.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac463@4107 e5f2f494-b856-4b98-b285-d166d9295462
parent ce2e289a
......@@ -169,7 +169,10 @@ struct MemoryZone::MemoryZoneImpl {
// double check for it?
state->zonecut_node_ = &node;
state->rrset_ = found->second;
return ((state->options_ & FIND_GLUE_OK) != 0 ? false : true);
// Unless glue is allowed the search stops here, so we return
// false; otherwise return true to continue the search.
return ((state->options_ & FIND_GLUE_OK) == 0);
}
// This case should not happen because we enable callback only
......
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