From 3bb8e04defd25c7e774c26faa146972656f93cbe Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Thu, 10 Mar 2016 17:45:14 +0300 Subject: [PATCH] ck_ht_hash(): actually use user-provided hash function Fixes failing test that i have added in previous commit. --- src/ck_ht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ck_ht.c b/src/ck_ht.c index fdbfdcc..2c864c5 100644 --- a/src/ck_ht.c +++ b/src/ck_ht.c @@ -112,7 +112,7 @@ ck_ht_hash(struct ck_ht_hash *h, uint16_t key_length) { - h->value = MurmurHash64A(key, key_length, table->seed); + table->h(h, key, key_length, table->seed); return; }