]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2093] some more minor cleanups
authorJelte Jansen <jelte@isc.org>
Mon, 30 Jul 2012 15:16:47 +0000 (17:16 +0200)
committerJelte Jansen <jelte@isc.org>
Mon, 30 Jul 2012 15:16:47 +0000 (17:16 +0200)
src/lib/datasrc/rbtree.h
src/lib/datasrc/tests/rbtree_unittest.cc

index be380104d545e31f63a871f44713ea4a6abae637..7ff15de9f0506fa21087cadb1c8d5cb718dfc0fa 100644 (file)
@@ -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
index 8236489d087f96522912ecb158adf466236ce02f..f7b32a172a5bc927f2494815da039738404ffe58 100644 (file)
@@ -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());