diff options
Diffstat (limited to 'src/common/container.h')
-rw-r--r-- | src/common/container.h | 2 |
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*)) \ { \ |