From: Mukund Sivaraman Date: Fri, 11 May 2012 06:03:18 +0000 (+0530) Subject: [1803] Make minor comment fixes X-Git-Tag: trac2351_base~226^2~159^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a584d5c1242a8b82be7eca4af4da85319d5cfbfd;p=thirdparty%2Fkea.git [1803] Make minor comment fixes --- diff --git a/src/lib/datasrc/rbtree.h b/src/lib/datasrc/rbtree.h index 35d2ff142c..ebe67f5624 100644 --- a/src/lib/datasrc/rbtree.h +++ b/src/lib/datasrc/rbtree.h @@ -1162,7 +1162,7 @@ RBTree::previousNode(RBTreeNodeChain& node_path) const { } if (node_path.getLastComparedNode() == NULL) { isc_throw(isc::BadValue, - "RBTree::previousNode called before find"); + "RBTree::previousNode() called before find()"); } // If the relation isn't EQUAL, it means the find was called previously @@ -1174,7 +1174,7 @@ RBTree::previousNode(RBTreeNodeChain& node_path) const { switch (node_path.getLastComparisonResult().getRelation()) { case dns::NameComparisonResult::COMMONANCESTOR: // We compared with a leaf in the tree and wanted to go to one of - // the sons. But the son was not there. It now depends on the + // the children. But the child was not there. It now depends on the // direction in which we wanted to go. if (node_path.getLastComparisonResult().getOrder() < 0) { // We wanted to go left. So the one we compared with is