From 9f93d48697c31585d9a8455b51f4408ddeaf7c61 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 20 Oct 2007 23:48:35 +0000 Subject: [PATCH] r15989@catbus: nickm | 2007-10-20 19:48:29 -0400 Fix implementation of sdmap_size and rimap_size() and eimap_size(). Nobody was using them, so no backport needed. svn:r12068 --- src/common/container.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ { \