ck_ht_hash(): actually use user-provided hash function

Fixes failing test that i have added in previous commit.
ck_pring
Roman Lebedev 9 years ago
parent b6d82a481a
commit 3bb8e04def

@ -112,7 +112,7 @@ ck_ht_hash(struct ck_ht_hash *h,
uint16_t key_length) uint16_t key_length)
{ {
h->value = MurmurHash64A(key, key_length, table->seed); table->h(h, key, key_length, table->seed);
return; return;
} }

Loading…
Cancel
Save