Removed explicit flush from memcached_storage()
authorBrian Aker <brian@tangent.org>
Sat, 13 Oct 2007 07:47:57 +0000 (00:47 -0700)
committerBrian Aker <brian@tangent.org>
Sat, 13 Oct 2007 07:47:57 +0000 (00:47 -0700)
lib/memcached_storage.c

index 353615fe8aaa55b5729c12cbdb3ea321956b53bc..6bbb387ff0782119a476e401fb60b3f9c0b32775 100644 (file)
@@ -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;