projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Remove config.
[awesomized/libmemcached]
/
libmemcached
/
key.cc
diff --git
a/libmemcached/key.cc
b/libmemcached/key.cc
index 39c1455be67b51d02260a7ea02b0492bc86a461b..19d1f957acefc01214ac2ffdaa2198e613d05093 100644
(file)
--- a/
libmemcached/key.cc
+++ b/
libmemcached/key.cc
@@
-51,7
+51,7
@@
memcached_return_t memcached_key_test(memcached_st &memc,
// we just check the size of the key
if (memc.flags.verify_key == false or memc.flags.binary_protocol == true)
{
// we just check the size of the key
if (memc.flags.verify_key == false or memc.flags.binary_protocol == true)
{
- for (
uint32
_t x= 0; x < number_of_keys; x++)
+ for (
size
_t x= 0; x < number_of_keys; x++)
{
// We should set binary key, but the memcached server is broken for
// longer keys at the moment.
{
// We should set binary key, but the memcached server is broken for
// longer keys at the moment.
@@
-65,7
+65,7
@@
memcached_return_t memcached_key_test(memcached_st &memc,
return MEMCACHED_SUCCESS;
}
return MEMCACHED_SUCCESS;
}
- for (
uint32
_t x= 0; x < number_of_keys; x++)
+ for (
size
_t x= 0; x < number_of_keys; x++)
{
memcached_return_t rc= memcached_validate_key_length(*(key_length + x), false);
if (memcached_failed(rc))
{
memcached_return_t rc= memcached_validate_key_length(*(key_length + x), false);
if (memcached_failed(rc))