projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Updated for custom hash functions/setting functions.
[awesomized/libmemcached]
/
libhashkit
/
ketama.c
diff --git
a/libhashkit/ketama.c
b/libhashkit/ketama.c
index e56594cf7bff5411be46b0f07dab2ad866705645..a510e57ab1ea802026d185cfcde3693c1fec7633 100644
(file)
--- a/
libhashkit/ketama.c
+++ b/
libhashkit/ketama.c
@@
-7,7
+7,9
@@
*/
#include "common.h"
+#include <math.h>
+#if 0
static uint32_t ketama_server_hash(const char *key, unsigned int key_length, int alignment)
{
unsigned char results[16];
@@
-159,3
+161,4
@@
int update_continuum(hashkit_st *hashkit)
return 0;
}
+#endif