r13358@catbus: nickm | 2007-06-11 18:46:24 -0400

Fix some dumb copypasta in r10562.


svn:r10565
This commit is contained in:
Nick Mathewson 2007-06-11 22:46:35 +00:00
parent f621513cad
commit dddf065e62

View 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*)) \
{ \