Fixing cancel on timeout for closing socket.
author <brian@gir.tangent.org> <>
Mon, 17 Mar 2008 04:52:27 +0000 (21:52 -0700)
committer <brian@gir.tangent.org> <>
Mon, 17 Mar 2008 04:52:27 +0000 (21:52 -0700)
libmemcached/memcached_quit.c

index 9874bb6ea45f66ad9a1876dabf7ae729ea53e633..b764cd1bf318ab6bdb41121ef80dd10a4b40ef2c 100644 (file)
@@ -33,8 +33,8 @@ void memcached_quit_server(memcached_server_st *ptr, uint8_t io_death)
        {
          ;
        }
-      memcached_io_close(ptr);
     }
+    memcached_io_close(ptr);
 
     ptr->fd= -1;
     ptr->write_buffer_offset= 0;