summaryrefslogtreecommitdiffstats
path: root/kjs/nodes.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-03-07 17:22:58 -0600
committerSlávek Banko <slavek.banko@axis.cz>2013-03-04 02:54:10 +0100
commite9696710fd46af151364cb8626f62a7de194c8f2 (patch)
tree8c28fac86d78d767a6c22584ea40f552796c7130 /kjs/nodes.cpp
parentf29973ff64995727b9f5c0c43d65881d8af65f5e (diff)
downloadtdelibs-e9696710fd46af151364cb8626f62a7de194c8f2.tar.gz
tdelibs-e9696710fd46af151364cb8626f62a7de194c8f2.zip
Add source code module name to stdout/stderr messages to improve readability.
(cherry picked from commit e15521d96b21cb0c771cce7cbe2ceb38f27c8844)
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;
}