]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1903] Minor fix to the exception text
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 7 May 2012 09:11:09 +0000 (11:11 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 7 May 2012 09:11:09 +0000 (11:11 +0200)
It talked about the other method.

src/lib/datasrc/rbtree.h

index fe25bee47fcb8e54a5104a4d820b4c7a7e560f07..5e17ee6c9434e3b93db9bec6dad00dfd83741c0a 100644 (file)
@@ -1159,7 +1159,8 @@ template <typename T>
 const RBNode<T>*
 RBTree<T>::previousNode(RBTreeNodeChain<T>& node_path) const {
     if (node_path.isEmpty()) {
-        isc_throw(isc::BadValue, "RBTree::nextNode is given an empty chain");
+        isc_throw(isc::BadValue,
+                  "RBTree::previousNode is given an empty chain");
     }
 
     const RBNode<T>* node(node_path.top());