mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
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
This commit is contained in:
parent
dc4e710e27
commit
9f93d48697
@ -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) \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user