BIND 10 trac2093, updated. b58cbbe6f9d7edb3faf27cfc841c0c8055edec8f [2093] some more minor cleanups

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Jul 30 15:16:58 UTC 2012


The branch, trac2093 has been updated
       via  b58cbbe6f9d7edb3faf27cfc841c0c8055edec8f (commit)
      from  1d6fc8b4e8b24289d831952516be306ad14a18de (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 b58cbbe6f9d7edb3faf27cfc841c0c8055edec8f
Author: Jelte Jansen <jelte at isc.org>
Date:   Mon Jul 30 17:16:47 2012 +0200

    [2093] some more minor cleanups

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

Summary of changes:
 src/lib/datasrc/rbtree.h                 |    3 ---
 src/lib/datasrc/tests/rbtree_unittest.cc |    3 ++-
 2 files changed, 2 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/rbtree.h b/src/lib/datasrc/rbtree.h
index be38010..7ff15de 100644
--- a/src/lib/datasrc/rbtree.h
+++ b/src/lib/datasrc/rbtree.h
@@ -229,9 +229,6 @@ public:
     /// It takes the (partial) name of the node itself, and extends it
     /// with all upper nodes.
     ///
-    /// The label sequence that is returned should therefore always be
-    /// absolute.
-    ///
     /// \note Care must be taken with the buffer that is used here; this
     /// method overwrites its data, so it should not be associated with
     /// any other LabelSequence during the lifetime of the LabelSequence
diff --git a/src/lib/datasrc/tests/rbtree_unittest.cc b/src/lib/datasrc/tests/rbtree_unittest.cc
index 8236489..f7b32a1 100644
--- a/src/lib/datasrc/tests/rbtree_unittest.cc
+++ b/src/lib/datasrc/tests/rbtree_unittest.cc
@@ -1002,7 +1002,8 @@ TEST_F(RBTreeTest, getAbsoluteLabels) {
     int name_count = sizeof(domain_names) / sizeof(domain_names[0]);
     uint8_t buf[LabelSequence::MAX_SERIALIZED_LENGTH];
     for (int i = 0; i < name_count; ++i) {
-        EXPECT_EQ(RBTree<int>::EXACTMATCH, rbtree.find(Name(domain_names[i]), &crbtnode));
+        EXPECT_EQ(RBTree<int>::EXACTMATCH, rbtree.find(Name(domain_names[i]),
+                  &crbtnode));
 
         // First make sure the names themselves are not absolute
         LabelSequence ls(crbtnode->getLabels());



More information about the bind10-changes mailing list