From: Date: Mon, 17 Mar 2008 04:52:27 +0000 (-0700) Subject: Fixing cancel on timeout for closing socket. X-Git-Tag: 0.20~1^2~49 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d56b89f5a14364b6b8ec0730b6833fbe15487f1c;p=awesomized%2Flibmemcached Fixing cancel on timeout for closing socket. --- diff --git a/libmemcached/memcached_quit.c b/libmemcached/memcached_quit.c index 9874bb6e..b764cd1b 100644 --- a/libmemcached/memcached_quit.c +++ b/libmemcached/memcached_quit.c @@ -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;