projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
740a8fe
)
Removed explicit flush from memcached_storage()
author
Brian Aker
<brian@tangent.org>
Sat, 13 Oct 2007 07:47:57 +0000
(
00:47
-0700)
committer
Brian Aker
<brian@tangent.org>
Sat, 13 Oct 2007 07:47:57 +0000
(
00:47
-0700)
lib/memcached_storage.c
patch
|
blob
|
history
diff --git
a/lib/memcached_storage.c
b/lib/memcached_storage.c
index 353615fe8aaa55b5729c12cbdb3ea321956b53bc..6bbb387ff0782119a476e401fb60b3f9c0b32775 100644
(file)
--- 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;