X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fhosts.c;h=992bd763d0b98e1afe59aa32f9d88740e840a897;hb=3dee67d04099cc5e2986ed94aa612f429f54d6fb;hp=c861a6d9361ede3ff48c7aa5bc3cfccaaa321f9c;hpb=3381db937d9af684deb762143bef0f1632a37dcd;p=awesomized%2Flibmemcached diff --git a/libmemcached/hosts.c b/libmemcached/hosts.c index c861a6d9..992bd763 100644 --- a/libmemcached/hosts.c +++ b/libmemcached/hosts.c @@ -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; }