projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
attempt to fix #12, #49 and #65
[awesomized/libmemcached]
/
libmemcached
/
flush.cc
diff --git
a/libmemcached/flush.cc
b/libmemcached/flush.cc
index 521515ac7024d44b25541d3e554554306587ee74..9702771f68b64be9b699f680bca51e52c65987c7 100644
(file)
--- a/
libmemcached/flush.cc
+++ b/
libmemcached/flush.cc
@@
-52,7
+52,7
@@
static memcached_return_t memcached_flush_binary(Memcached *ptr,
for (uint32_t x= 0; x < memcached_server_count(ptr); x++)
{
for (uint32_t x= 0; x < memcached_server_count(ptr); x++)
{
-
org::libmemcached::Instance
* instance= memcached_instance_fetch(ptr, x);
+
memcached_instance_st
* instance= memcached_instance_fetch(ptr, x);
initialize_binary_request(instance, request.message.header);
if (reply)
initialize_binary_request(instance, request.message.header);
if (reply)
@@
-77,14
+77,13
@@
static memcached_return_t memcached_flush_binary(Memcached *ptr,
{
memcached_set_error(*instance, rrc, MEMCACHED_AT);
}
{
memcached_set_error(*instance, rrc, MEMCACHED_AT);
}
- memcached_io_reset(instance);
rc= MEMCACHED_SOME_ERRORS;
}
}
for (uint32_t x= 0; x < memcached_server_count(ptr); x++)
{
rc= MEMCACHED_SOME_ERRORS;
}
}
for (uint32_t x= 0; x < memcached_server_count(ptr); x++)
{
-
org::libmemcached::Instance
* instance= memcached_instance_fetch(ptr, x);
+
memcached_instance_st
* instance= memcached_instance_fetch(ptr, x);
if (instance->response_count() > 0)
{
if (instance->response_count() > 0)
{
@@
-115,7
+114,7
@@
static memcached_return_t memcached_flush_textual(Memcached *ptr,
memcached_return_t rc= MEMCACHED_SUCCESS;
for (uint32_t x= 0; x < memcached_server_count(ptr); x++)
{
memcached_return_t rc= MEMCACHED_SUCCESS;
for (uint32_t x= 0; x < memcached_server_count(ptr); x++)
{
-
org::libmemcached::Instance
* instance= memcached_instance_fetch(ptr, x);
+
memcached_instance_st
* instance= memcached_instance_fetch(ptr, x);
libmemcached_io_vector_st vector[]=
{
libmemcached_io_vector_st vector[]=
{