projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge in util library.
[m6w6/libmemcached]
/
libmemcached
/
fetch.cc
diff --git
a/libmemcached/fetch.cc
b/libmemcached/fetch.cc
index dd0b036d8433cecc7177e54f9c40912f1a2a5b0c..7ef608ddda231c9e9613b62187629aa4f6a4c949 100644
(file)
--- a/
libmemcached/fetch.cc
+++ b/
libmemcached/fetch.cc
@@
-122,8
+122,6
@@
memcached_result_st *memcached_fetch_result(memcached_st *ptr,
memcached_result_st *result,
memcached_return_t *error)
{
memcached_result_st *result,
memcached_return_t *error)
{
- memcached_server_st *server;
-
memcached_return_t unused;
if (not error)
error= &unused;
memcached_return_t unused;
if (not error)
error= &unused;
@@
-159,6
+157,7
@@
memcached_result_st *memcached_fetch_result(memcached_st *ptr,
}
*error= MEMCACHED_MAXIMUM_RETURN; // We use this to see if we ever go into the loop
}
*error= MEMCACHED_MAXIMUM_RETURN; // We use this to see if we ever go into the loop
+ memcached_server_st *server;
while ((server= memcached_io_get_readable_server(ptr)))
{
char buffer[MEMCACHED_DEFAULT_COMMAND_SIZE];
while ((server= memcached_io_get_readable_server(ptr)))
{
char buffer[MEMCACHED_DEFAULT_COMMAND_SIZE];