From: Brian Aker Date: Sat, 13 Oct 2007 07:47:57 +0000 (-0700) Subject: Removed explicit flush from memcached_storage() X-Git-Tag: 0.7~41 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8662a68fe1c094b660d04142798be0cac07f985d;p=awesomized%2Flibmemcached Removed explicit flush from memcached_storage() --- diff --git a/lib/memcached_storage.c b/lib/memcached_storage.c index 353615fe..6bbb387f 100644 --- a/lib/memcached_storage.c +++ b/lib/memcached_storage.c @@ -65,7 +65,7 @@ static memcached_return memcached_send(memcached_st *ptr, We have to flush after sending the command. Memcached is not smart enough to just keep reading from the socket :( */ - if ((sent_length= memcached_io_write(ptr, server_key, buffer, write_length, 1)) == -1) + if ((sent_length= memcached_io_write(ptr, server_key, buffer, write_length, 0)) == -1) { rc= MEMCACHED_WRITE_FAILURE; goto error;