Straighten up exection path
authorBrian Aker <brian@tangent.org>
Sat, 15 Nov 2008 22:01:12 +0000 (14:01 -0800)
committerBrian Aker <brian@tangent.org>
Sat, 15 Nov 2008 22:01:12 +0000 (14:01 -0800)
libmemcached/memcached_server.c

index fd022355ab9b7a001bc27221dc7e41f14566456f..c836cfa297f9de48b241d5f1e5d91a7f763e1d64 100644 (file)
@@ -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)
   {