From: Adam Thomason Date: Tue, 22 Sep 2009 19:20:27 +0000 (-0700) Subject: Fix return codes X-Git-Tag: 0.34~10^2~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=dcd5061e6bc6e591ad9986e9360a4657f8dbf7f1;p=m6w6%2Flibmemcached Fix return codes --- diff --git a/tests/function.c b/tests/function.c index d35f00cc..cdea2d1e 100644 --- a/tests/function.c +++ b/tests/function.c @@ -2527,7 +2527,7 @@ static test_return _user_supplied_bug21(memcached_st* memc, size_t key_count) memcached_free(memc); - return MEMCACHED_SUCCESS; + return TEST_SUCCESS; } static test_return user_supplied_bug21(memcached_st *memc) @@ -2536,13 +2536,13 @@ static test_return user_supplied_bug21(memcached_st *memc) /* should work as of r580 */ rc= _user_supplied_bug21(memc, 10); - assert(rc == MEMCACHED_SUCCESS); + assert(rc == TEST_SUCCESS); /* should fail as of r580 */ rc= _user_supplied_bug21(memc, 1000); - assert(rc == MEMCACHED_SUCCESS); + assert(rc == TEST_SUCCESS); - return MEMCACHED_SUCCESS; + return TEST_SUCCESS; } void fail(int unused __attribute__((unused)))