projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
NEw code for the memcached_fetch_execute() function.
[m6w6/libmemcached]
/
lib
/
memcached_io.c
diff --git
a/lib/memcached_io.c
b/lib/memcached_io.c
index 84928d2b40b5459e42acd1c7160d2e4d0a0acd31..38580638d7f197c81d373373954cb299b8aabc98 100644
(file)
--- a/
lib/memcached_io.c
+++ b/
lib/memcached_io.c
@@
-57,7
+57,7
@@
void memcached_io_preread(memcached_st *ptr)
for (x= 0; x < ptr->number_of_hosts; x++)
{
- if (
ptr->hosts[x].cursor_active
&&
+ if (
memcached_server_response_count(ptr, x)
&&
ptr->hosts[x].read_data_length < MEMCACHED_MAX_BUFFER )
{
size_t data_read;