Browse Source

remove non-terminal function call in tree print

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac397@3582 e5f2f494-b856-4b98-b285-d166d9295462
Han Feng 14 years ago
parent
commit
6ad0a21431
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/auth/rbt_datasrc.h

+ 1 - 1
src/bin/auth/rbt_datasrc.h

@@ -848,7 +848,7 @@ RBTree<T>::printTreeHelper(std::ostream &os, const RBNode<T>* node, int depth) c
     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);