libhashkit: fix #25
authorMichael Wallner <mike@php.net>
Tue, 21 Jan 2020 14:42:02 +0000 (15:42 +0100)
committerMichael Wallner <mike@php.net>
Tue, 21 Jan 2020 14:42:02 +0000 (15:42 +0100)
addendum to 6ea993a98a635f979dbe31c28363654709d5f63f

libhashkit/function.cc

index e6891a0fb026e6fb207364f9acb846b925f003f5..3d530ae9b24e0a21829927b512708cb38f8b4cc7 100644 (file)
@@ -180,6 +180,10 @@ static hashkit_hash_algorithm_t get_function_type(const hashkit_hash_fn function
   {
     return HASHKIT_HASH_MURMUR;
   }
+  else if (function == hashkit_murmur3)
+  {
+    return HASHKIT_HASH_MURMUR3;
+  }
   else if (function == hashkit_jenkins)
   {
     return HASHKIT_HASH_JENKINS;