소스 검색

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

Nick Mathewson 18 년 전
부모
커밋
9f93d48697
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/common/container.h

+ 1 - 1
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)         \
   {                                                                     \