]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
r13358@catbus: nickm | 2007-06-11 18:46:24 -0400
authorNick Mathewson <nickm@torproject.org>
Mon, 11 Jun 2007 22:46:35 +0000 (22:46 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 11 Jun 2007 22:46:35 +0000 (22:46 +0000)
 Fix some dumb copypasta in r10562.

svn:r10565

src/common/container.h

index d0d893a989dd57d6dae20ccfceedf8aa09fd0898..e926ce16d35189704e4bbea51c211d1ced4f6574 100644 (file)
@@ -222,7 +222,7 @@ void* strmap_remove_lc(strmap_t *map, const char *key);
   }                                                                     \
   static INLINE valtype* prefix##remove(maptype *map, const char *key)  \
   {                                                                     \
-    return (valtype*)digestmap_get((digestmap_t*)map, key);             \
+    return (valtype*)digestmap_remove((digestmap_t*)map, key);          \
   }                                                                     \
   static INLINE void prefix##free(maptype *map, void (*free_val)(void*)) \
   {                                                                     \