BIND 10 master, updated. 7c42c6d38d63dd55462eb01037a55a40185920a3 [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.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Jan 31 22:56:16 UTC 2011
The branch, master has been updated
via 7c42c6d38d63dd55462eb01037a55a40185920a3 (commit)
from 6d9d7b76a3e55c6ca2a4c7af09674867a0e54c28 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7c42c6d38d63dd55462eb01037a55a40185920a3
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Jan 31 14:55:05 2011 -0800
[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.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/memory_datasrc.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory_datasrc.cc b/src/lib/datasrc/memory_datasrc.cc
index f0b8b53..f48e7d0 100644
--- a/src/lib/datasrc/memory_datasrc.cc
+++ b/src/lib/datasrc/memory_datasrc.cc
@@ -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++)
More information about the bind10-changes
mailing list