diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-10-20 23:48:35 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-10-20 23:48:35 +0000 |
commit | 9f93d48697c31585d9a8455b51f4408ddeaf7c61 (patch) | |
tree | afb13053f622cb92a4c604b8c1f3d5904f41c7c4 /src | |
parent | dc4e710e27ed98c0e3d2e59ee07d133a6a3a203d (diff) | |
download | tor-9f93d48697c31585d9a8455b51f4408ddeaf7c61.tar.gz tor-9f93d48697c31585d9a8455b51f4408ddeaf7c61.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/common/container.h | 2 |
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) \ { \ |