summaryrefslogtreecommitdiff
path: root/src/common/container.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-06-11 22:46:35 +0000
committerNick Mathewson <nickm@torproject.org>2007-06-11 22:46:35 +0000
commitdddf065e6266a396093009c441d4c115571a5363 (patch)
tree7192d27ce7e304431c5027783d7a9107691fdc05 /src/common/container.h
parentf621513cad383d7d59e89d095c7b9519f6bcc1b8 (diff)
downloadtor-dddf065e6266a396093009c441d4c115571a5363.tar.gz
tor-dddf065e6266a396093009c441d4c115571a5363.zip
r13358@catbus: nickm | 2007-06-11 18:46:24 -0400
Fix some dumb copypasta in r10562. svn:r10565
Diffstat (limited to 'src/common/container.h')
-rw-r--r--src/common/container.h2
1 files changed, 1 insertions, 1 deletions
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*)) \
{ \