aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--collections/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/collections/map/map.c b/collections/map/map.c
index f5751b5..021743d 100644
--- a/collections/map/map.c
+++ b/collections/map/map.c
@@ -90,7 +90,7 @@ int map_size_aux(root)
struct map_node *root;
{
if (!root)
- return 1;
+ return 0;
return map_size_aux(root->left) + map_size_aux(root->right) + 1;
}