Browse Source

[1903] Minor fix to the exception text

It talked about the other method.
Michal 'vorner' Vaner 13 years ago
parent
commit
6abb27b31d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/datasrc/rbtree.h

+ 2 - 1
src/lib/datasrc/rbtree.h

@@ -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());