diff options
Diffstat (limited to 'src/basic/hashmap.c')
-rw-r--r-- | src/basic/hashmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/hashmap.c b/src/basic/hashmap.c index 3c05bee56d..3e17ed30df 100644 --- a/src/basic/hashmap.c +++ b/src/basic/hashmap.c @@ -277,7 +277,7 @@ static const struct hashmap_type_info hashmap_type_info[_HASHMAP_TYPE_MAX] = { }; void string_hash_func(const void *p, struct siphash *state) { - siphash24_compress(p, strlen(p), state); + siphash24_compress(p, strlen(p) + 1, state); } int string_compare_func(const void *a, const void *b) { |