aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/container.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/container.h b/src/common/container.h
index 1f58b30557..35ba743173 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -235,7 +235,7 @@ void* strmap_remove_lc(strmap_t *map, const char *key);
} \
static INLINE int prefix##size(maptype *map) \
{ \
- return digestmap_isempty((digestmap_t*)map); \
+ return digestmap_size((digestmap_t*)map); \
} \
static INLINE prefix##iter_t *prefix##iter_init(maptype *map) \
{ \