Merge in code changes for all of the new parser.
[awesomized/libmemcached] / libmemcached / hosts.c
index c861a6d9361ede3ff48c7aa5bc3cfccaaa321f9c..992bd763d0b98e1afe59aa32f9d88740e840a897 100644 (file)
@@ -93,9 +93,9 @@ static int continuum_item_cmp(const void *t1, const void *t2)
   /* Why 153? Hmmm... */
   WATCHPOINT_ASSERT(ct1->value != 153);
   if (ct1->value == ct2->value)
-    return EXIT_SUCCESS;
+    return 0;
   else if (ct1->value > ct2->value)
-    return EXIT_FAILURE;
+    return 1;
   else
     return -1;
 }