From a1efefe7b6c864bfa479aa0fe89b38679356d7a9 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Fri, 11 Feb 2011 01:50:22 -0800 Subject: [PATCH] Fix if() --- tests/mem_functions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); -- 2.30.2