projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Kevin's patch bug13
[m6w6/libmemcached]
/
lib
/
memcached_fetch_execute.c
diff --git
a/lib/memcached_fetch_execute.c
b/lib/memcached_fetch_execute.c
index c1245d4fd1786fbfc7d1e2e7646b4a6c09e119dc..87227417bc65517588fdcb330190e7b2fe93c005 100644
(file)
--- a/
lib/memcached_fetch_execute.c
+++ b/
lib/memcached_fetch_execute.c
@@
-14,17
+14,17
@@
memcached_return memcached_fetch_execute(memcached_st *ptr,
char buffer[MEMCACHED_DEFAULT_COMMAND_SIZE];
char buffer[MEMCACHED_DEFAULT_COMMAND_SIZE];
- if (memcached_server_response_count(
ptr, ptr->cursor_server
) == 0)
+ if (memcached_server_response_count(
&ptr->hosts[ptr->cursor_server]
) == 0)
{
ptr->cursor_server++;
continue;
}
{
ptr->cursor_server++;
continue;
}
- rc= memcached_response(
ptr, buffer, MEMCACHED_DEFAULT_COMMAND_SIZE, result, ptr->cursor_server
);
+ rc= memcached_response(
&ptr->hosts[ptr->cursor_server], buffer, MEMCACHED_DEFAULT_COMMAND_SIZE, result
);
if (rc == MEMCACHED_END) /* END means that we move on to the next */
{
if (rc == MEMCACHED_END) /* END means that we move on to the next */
{
- memcached_server_response_reset(
ptr, ptr->cursor_server
);
+ memcached_server_response_reset(
&ptr->hosts[ptr->cursor_server]
);
ptr->cursor_server++;
continue;
}
ptr->cursor_server++;
continue;
}