docs: flush libmemcached progress
[awesomized/libmemcached] / src / libmemcached / behavior.cc
index 7536248e214f2db040a83444b5a7276691d3209c..36201737a97658e2f44596d7c12e5b7a6f39a352 100644 (file)
@@ -35,9 +35,9 @@
  *
  */
 
-#include <libmemcached/common.h>
-#include <libmemcached/options.hpp>
-#include <libmemcached/virtual_bucket.h>
+#include "libmemcached/common.h"
+#include "libmemcached/options.hpp"
+#include "libmemcached/virtual_bucket.h"
 
 #include <ctime>
 #include <sys/types.h>
@@ -373,7 +373,7 @@ uint64_t memcached_behavior_get(memcached_st *shell,
     return hashkit_get_function(&ptr->hashkit);
 
   case MEMCACHED_BEHAVIOR_KETAMA_HASH:
-    return hashkit_get_function(&ptr->hashkit);
+    return hashkit_get_distribution_function(&ptr->hashkit);
 
   case MEMCACHED_BEHAVIOR_REMOVE_FAILED_SERVERS:
     return ptr->flags.auto_eject_hosts;