[svn] commit: r3582 - /branches/trac397/src/bin/auth/rbt_datasrc.h

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Nov 22 01:56:05 UTC 2010


Author: hanfeng
Date: Mon Nov 22 01:56:05 2010
New Revision: 3582

Log:
remove non-terminal function call in tree print

Modified:
    branches/trac397/src/bin/auth/rbt_datasrc.h

Modified: branches/trac397/src/bin/auth/rbt_datasrc.h
==============================================================================
--- branches/trac397/src/bin/auth/rbt_datasrc.h (original)
+++ branches/trac397/src/bin/auth/rbt_datasrc.h Mon Nov 22 01:56:05 2010
@@ -848,7 +848,7 @@
     INDNET(os, depth);
     os << node->name_.toText() << " ("
               << ((node->color_ == BLACK) ? "black" : "red") << ")\n";
-    os << ((node->isNonterminal()) ? "[non-terminal] \n" : "\n");
+    os << ((node->is_shadow_) ? "[invisible] \n" : "\n");
     if (node->down_) {
         assert(node->down_->up_ == node);
         INDNET(os, depth + 1);




More information about the bind10-changes mailing list