aboutsummaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'map.c')
-rw-r--r--map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/map.c b/map.c
index 4e727f4..5fde157 100644
--- a/map.c
+++ b/map.c
@@ -194,7 +194,7 @@ void *map_delete(Map *map, const char *key)
/* Did we find it? */
if (strcmp(key, n->u.s)) {
errno = ENOENT;
- return false;
+ return NULL;
}
free((char*)n->u.s);