summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/libmemcached-1.0/mem_functions.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libmemcached-1.0/mem_functions.cc b/tests/libmemcached-1.0/mem_functions.cc
index 046e543d..89eca072 100644
--- a/tests/libmemcached-1.0/mem_functions.cc
+++ b/tests/libmemcached-1.0/mem_functions.cc
@@ -4953,8 +4953,7 @@ test_return_t kill_HUP_TEST(memcached_st *original_memc)
test_literal_param(__func__), // Keys
test_literal_param(__func__), // Values
0, 0);
- Error << memcached_last_error_message(memc);
- test_compare(MEMCACHED_CONNECTION_FAILURE, ret);
+ test_compare(ret, MEMCACHED_CONNECTION_FAILURE);
memcached_free(memc);