From: Brian Aker Date: Sat, 15 Nov 2008 22:01:12 +0000 (-0800) Subject: Straighten up exection path X-Git-Tag: 0.25~3^2~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=44a351afa447e7a6299258550d3ee3b498b42093;p=m6w6%2Flibmemcached Straighten up exection path --- diff --git a/libmemcached/memcached_server.c b/libmemcached/memcached_server.c index fd022355..c836cfa2 100644 --- a/libmemcached/memcached_server.c +++ b/libmemcached/memcached_server.c @@ -30,8 +30,7 @@ void memcached_server_free(memcached_server_st *ptr) memcached_return rc; WATCHPOINT_ASSERT(ptr->is_allocated != MEMCACHED_NOT_ALLOCATED); - rc= memcached_io_close(ptr); - WATCHPOINT_ASSERT(rc == MEMCACHED_SUCCESS); + memcached_quit_server(ptr, 0); if (ptr->address_info) {