summaryrefslogtreecommitdiffstats
path: root/src/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tree.c b/src/tree.c
index 2962954..634e38a 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -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);