diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -67,7 +67,7 @@ print_node(MqTree *node) static void print_head(const gchar *head, MqTree *node) { - g_print("%s, at 0x%" PRIxPTR "\n", head, (uintptr_t) node); + g_print("%s, starting at 0x%" PRIxPTR "\n", head, (uintptr_t) node); } #else /* MQ_TREE_DEBUG */ @@ -245,7 +245,7 @@ void mq_tree_foreach(MqTree *node, gboolean (*cb)(MqTree *node, gpointer user_data), gpointer user_data) { - print_head("foreach", node); + print_head("Traversing full tree", node); foreach_down(node->root->first_child, cb, user_data); } @@ -273,7 +273,7 @@ void mq_tree_foreach_from(MqTree *node, gboolean (*cb)(MqTree *node, gpointer user_data), gpointer user_data) { - print_head("foreach from", node); + print_head("Traversing tree from position", node); if (foreach_down(node, cb, user_data) == MQ_TREE_CONTINUE) { foreach_up(node, cb, user_data); |