From: Brian Aker Date: Tue, 7 Jun 2011 21:55:15 +0000 (-0700) Subject: Style cleanup. X-Git-Tag: 0.51~4^2~26 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=9d6cfb15e7c85da2005f8c2ea4a9f4ab02fb246a;p=m6w6%2Flibmemcached Style cleanup. --- diff --git a/tests/mem_functions.cc b/tests/mem_functions.cc index 80b1148a..27542a47 100644 --- a/tests/mem_functions.cc +++ b/tests/mem_functions.cc @@ -5468,10 +5468,9 @@ static test_return_t test_verbosity(memcached_st *memc) static test_return_t test_server_failure(memcached_st *memc) { - memcached_st *local_memc; memcached_server_instance_st instance= memcached_server_instance_by_position(memc, 0); - local_memc= memcached_create(NULL); + memcached_st *local_memc= memcached_create(NULL); memcached_server_add(local_memc, memcached_server_name(instance), memcached_server_port(instance)); memcached_behavior_set(local_memc, MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT, 2);