BIND 10 trac2218, updated. 411b0a3925a2180a05a8faec9848112770631f3c [2218] Fix condition in DomainTree::getLargestNode()

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Sep 12 17:48:07 UTC 2012


The branch, trac2218 has been updated
       via  411b0a3925a2180a05a8faec9848112770631f3c (commit)
      from  250cf090098a1b5c8c5f314af3b1a27efe2dadc7 (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 411b0a3925a2180a05a8faec9848112770631f3c
Author: Mukund Sivaraman <muks at isc.org>
Date:   Wed Sep 12 23:17:54 2012 +0530

    [2218] Fix condition in DomainTree::getLargestNode()

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

Summary of changes:
 src/lib/datasrc/memory/domaintree.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/domaintree.h b/src/lib/datasrc/memory/domaintree.h
index c39f765..93df780 100644
--- a/src/lib/datasrc/memory/domaintree.h
+++ b/src/lib/datasrc/memory/domaintree.h
@@ -1708,7 +1708,7 @@ template <typename T>
 const DomainTreeNode<T>*
 DomainTree<T>::getLargestNode() const {
     const DomainTreeNode<T>* node = root_.get();
-    if (root_ == NULL) {
+    if (node == NULL) {
         return (NULL);
     }
 



More information about the bind10-changes mailing list