From: Nick Mathewson Date: Sat, 20 Oct 2007 23:48:35 +0000 (+0000) Subject: r15989@catbus: nickm | 2007-10-20 19:48:29 -0400 X-Git-Tag: tor-0.2.0.9-alpha~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f93d48697c31585d9a8455b51f4408ddeaf7c61;p=thirdparty%2Ftor.git 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 --- 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) \ { \