[or-cvs] r12068: Fix implementation of sdmap_size and rimap_size() and eimap_ (in tor/trunk: . src/common)
nickm at seul.org
nickm at seul.org
Sat Oct 20 23:48:36 UTC 2007
Author: nickm
Date: 2007-10-20 19:48:35 -0400 (Sat, 20 Oct 2007)
New Revision: 12068
Modified:
tor/trunk/
tor/trunk/src/common/container.h
Log:
r15989 at 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.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r15989] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/common/container.h
===================================================================
--- tor/trunk/src/common/container.h 2007-10-20 23:45:07 UTC (rev 12067)
+++ tor/trunk/src/common/container.h 2007-10-20 23:48:35 UTC (rev 12068)
@@ -235,7 +235,7 @@
} \
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) \
{ \
More information about the tor-commits
mailing list