From: Nick Mathewson Date: Mon, 11 Jun 2007 22:46:35 +0000 (+0000) Subject: r13358@catbus: nickm | 2007-06-11 18:46:24 -0400 X-Git-Tag: tor-0.2.0.3-alpha~219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dddf065e6266a396093009c441d4c115571a5363;p=thirdparty%2Ftor.git r13358@catbus: nickm | 2007-06-11 18:46:24 -0400 Fix some dumb copypasta in r10562. svn:r10565 --- diff --git a/src/common/container.h b/src/common/container.h index d0d893a989..e926ce16d3 100644 --- a/src/common/container.h +++ b/src/common/container.h @@ -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*)) \ { \