BIND 10 trac595, updated. 996e2593c867478eec8f2b3700aa52776528394b [trac595] slightly tweak the comment text

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Mar 3 14:12:12 UTC 2011


The branch, trac595 has been updated
       via  996e2593c867478eec8f2b3700aa52776528394b (commit)
      from  86355ec5ded2f1988dc466f8844360c78e8454a7 (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 996e2593c867478eec8f2b3700aa52776528394b
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Mar 3 15:11:53 2011 +0100

    [trac595] slightly tweak the comment text

-----------------------------------------------------------------------

Summary of changes:
 src/lib/cache/message_entry.cc |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/cache/message_entry.cc b/src/lib/cache/message_entry.cc
index fb59916..de684a0 100644
--- a/src/lib/cache/message_entry.cc
+++ b/src/lib/cache/message_entry.cc
@@ -28,9 +28,9 @@ namespace {
 
 // Get the shortest existing ancestor which is the owner name of
 // one DNAME record for the given query name.
-// Note: there maybe multiple DNAME records(DNAME chain) in answer section,
-// in most case they are in order, but the code can't depends on it, it has to
-// find the starter by iterating the DNAME chain.
+// Note: there may be multiple DNAME records(DNAME chain) in answer
+// section. In most cases they are in order, but the code can't depend
+// on that, it has to find the starter by iterating the DNAME chain.
 Name
 getDNAMEChainStarter(const Message& message, const Name& query_name) {
     Name dname = query_name;
@@ -171,12 +171,12 @@ MessageEntry::getRRsetTrustLevel(const Message& message,
                      name == getDNAMEChainStarter(message, query_name))) {
                     return (RRSET_TRUST_ANSWER_AA);
                 } else {
-                    // If there is one CNAME record whose ower name is same with
-                    // query name in answer section, the left records in answer
+                    // If there is a CNAME record whose ower name is the same as
+                    // the query name in answer section, the other records in answer
                     // section are non-authoritative, except the starter of DNAME
-                    // chain(only checking CNAME is enough, because if the CNAME
-                    // record is synchronized from one DNAME record, that DNAME
-                    // record must be the starter of DNAME chain).
+                    // chain (only checking CNAME is enough, because if the CNAME
+                    // record is synthesized from a DNAME record, that DNAME
+                    // record must be the starter of the DNAME chain).
                     RRsetIterator iter = message.beginSection(Message::SECTION_ANSWER);
                     while(iter != message.endSection(Message::SECTION_ANSWER)) {
                         if ((*iter)->getType() == RRType::CNAME() &&




More information about the bind10-changes mailing list