Merge in additional fix for manpages.
[m6w6/libmemcached] / libhashkit / hsieh.c
index cb5af8aec74524540fd97afb2b1bac0ffd797c07..35a2e2096c23d5c2f300a9ca877b095cc45aaabd 100644 (file)
@@ -5,7 +5,7 @@
  * http://www.azillionmonkeys.com/qed/hash.html
 */
 
-#include "common.h"
+#include <libhashkit/common.h>
 
 #undef get16bits
 #if (defined(__GNUC__) && defined(__i386__))
@@ -23,7 +23,7 @@ uint32_t hashkit_hsieh(const char *key, size_t key_length, void *context __attri
   int rem;
 
   if (key_length <= 0 || key == NULL)
-    return EXIT_SUCCESS;
+    return 0;
 
   rem = key_length & 3;
   key_length >>= 2;