projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Update changelog
[awesomized/libmemcached]
/
libmemcached
/
memcached_get.c
diff --git
a/libmemcached/memcached_get.c
b/libmemcached/memcached_get.c
index 0209b283ab1129ec5b53347e91d1420ca2366e36..e91db4cf363854f3aa363691c23ece90b274c8ac 100644
(file)
--- a/
libmemcached/memcached_get.c
+++ b/
libmemcached/memcached_get.c
@@
-368,11
+368,11
@@
static memcached_return replication_binary_mget(memcached_st *ptr,
int flush= number_of_keys == 1;
int flush= number_of_keys == 1;
- for (
int replica
= 0; replica <= ptr->number_of_replicas; ++replica)
+ for (
uint32_t replica
= 0; replica <= ptr->number_of_replicas; ++replica)
{
bool success= true;
{
bool success= true;
- for (
uint32_t
x= 0; x < number_of_keys; ++x)
+ for (x= 0; x < number_of_keys; ++x)
{
if (hash[x] == ptr->number_of_hosts)
continue; /* Already successfully sent */
{
if (hash[x] == ptr->number_of_hosts)
continue; /* Already successfully sent */
@@
-443,7
+443,7
@@
static memcached_return replication_binary_mget(memcached_st *ptr,
memcached_server_response_increment(&ptr->hosts[x]);
/* mark all of the messages bound for this server as sent! */
memcached_server_response_increment(&ptr->hosts[x]);
/* mark all of the messages bound for this server as sent! */
- for (
uint32_t
x= 0; x < number_of_keys; ++x)
+ for (x= 0; x < number_of_keys; ++x)
if (hash[x] == x)
hash[x]= ptr->number_of_hosts;
}
if (hash[x] == x)
hash[x]= ptr->number_of_hosts;
}