BIND 10 trac551, updated. 73837f513323e69175abfcfd04ca2f7b1fe22a4c [trac551] editorial fix: made sure comments and code matched.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Feb 15 17:37:28 UTC 2011
The branch, trac551 has been updated
via 73837f513323e69175abfcfd04ca2f7b1fe22a4c (commit)
from deedd6f7ff3339f822f9ed8de77a5a7164bda9a1 (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 73837f513323e69175abfcfd04ca2f7b1fe22a4c
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Feb 15 09:36:39 2011 -0800
[trac551] editorial fix: made sure comments and code matched.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/memory_datasrc.cc | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory_datasrc.cc b/src/lib/datasrc/memory_datasrc.cc
index 63d8aa4..b4ee30b 100644
--- a/src/lib/datasrc/memory_datasrc.cc
+++ b/src/lib/datasrc/memory_datasrc.cc
@@ -94,10 +94,8 @@ struct MemoryZone::MemoryZoneImpl {
l > origin_labels;
--l, wname = wname.split(1)) {
if (wname.isWildcard()) {
- // Ensure a separate level exists for the wildcard name.
- // Note: for 'name' itself we do this later anyway, but the
- // overhead should be marginal because wildcard names should
- // be rare.
+ // Ensure a separate level exists for the "wildcarding" name,
+ // and mark the node as "wild".
DomainNode* node;
DomainTree::Result result(domains.insert(wname.split(1),
&node));
@@ -105,8 +103,10 @@ struct MemoryZone::MemoryZoneImpl {
result == DomainTree::ALREADYEXISTS);
node->setFlag(DOMAINFLAG_WILD);
- // Ensure a separate level exists for the "wildcarding" name,
- // and mark the node as "wild".
+ // Ensure a separate level exists for the wildcard name.
+ // Note: for 'name' itself we do this later anyway, but the
+ // overhead should be marginal because wildcard names should
+ // be rare.
result = domains.insert(wname, &node);
assert(result == DomainTree::SUCCESS ||
result == DomainTree::ALREADYEXISTS);
More information about the bind10-changes
mailing list