about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/rbtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rbtree.c b/src/tools/rbtree.c
index 211a1a4a..90574148 100644
--- a/src/tools/rbtree.c
+++ b/src/tools/rbtree.c
@@ -35,7 +35,7 @@ rbtree* init_rbtree(const char* name) {
     rbtree* tree = rbtreeMalloc(sizeof(rbtree));
     tree->root = NULL;
     tree->is_unstable = 0;
-    tree->name = name?"(rbtree)":name;
+    tree->name = name?name:"(rbtree)";
     return tree;
 }