From dddf065e6266a396093009c441d4c115571a5363 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 11 Jun 2007 22:46:35 +0000 Subject: [PATCH] r13358@catbus: nickm | 2007-06-11 18:46:24 -0400 Fix some dumb copypasta in r10562. svn:r10565 --- src/common/container.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*)) \ { \