summaryrefslogtreecommitdiffstats
path: root/kjs/nodes.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-03-07 17:22:58 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-03-07 17:22:58 -0600
commite15521d96b21cb0c771cce7cbe2ceb38f27c8844 (patch)
treed70ae645d1e414273f12736df3589cc96fdeebda /kjs/nodes.cpp
parent563d4ecebe282b0062cbdb74413ef960401a25bf (diff)
downloadtdelibs-e15521d96b21cb0c771cce7cbe2ceb38f27c8844.tar.gz
tdelibs-e15521d96b21cb0c771cce7cbe2ceb38f27c8844.zip
Add source code module name to stdout/stderr messages to improve readability.
Diffstat (limited to 'kjs/nodes.cpp')
-rw-r--r--kjs/nodes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kjs/nodes.cpp b/kjs/nodes.cpp
index c6ee18bf1..6bb6cfaae 100644
--- a/kjs/nodes.cpp
+++ b/kjs/nodes.cpp
@@ -154,10 +154,10 @@ void Node::finalCheck()
fprintf(stderr, "Node::finalCheck(): list 0\n");
return;
}
- fprintf( stderr, "Node::finalCheck(): list count : %d\n", (int)s_nodes->size() );
+ fprintf( stderr, "[nodes] Node::finalCheck(): list count : %d\n", (int)s_nodes->size() );
std::list<Node *>::iterator it = s_nodes->begin();
for ( uint i = 0; it != s_nodes->end() ; ++it, ++i )
- fprintf( stderr, "[%d] Still having node %p (%s) (refcount %d)\n", i, (void*)*it, typeid( **it ).name(), (*it)->refcount );
+ fprintf( stderr, "[nodes] [%d] Still having node %p (%s) (refcount %d)\n", i, (void*)*it, typeid( **it ).name(), (*it)->refcount );
delete s_nodes;
s_nodes = 0L;
}