From: Brian Aker Date: Fri, 11 Feb 2011 09:50:22 +0000 (-0800) Subject: Fix if() X-Git-Tag: 0.51~45^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a1efefe7b6c864bfa479aa0fe89b38679356d7a9;p=m6w6%2Flibmemcached Fix if() --- diff --git a/tests/mem_functions.c b/tests/mem_functions.c index cf707171..740e34de 100644 --- a/tests/mem_functions.c +++ b/tests/mem_functions.c @@ -4448,7 +4448,8 @@ static test_return_t util_version_test(memcached_st *memc) if_successful= libmemcached_util_version_check(memc, 9, 9, 9); - if (! if_successful) + // We expect failure + if (if_successful) { fprintf(stderr, "\n----------------------------------------------------------------------\n"); fprintf(stderr, "\nDumping Server Information\n\n");