projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
memcached_behavior() causes commands to be buffered until they are flushed to
[m6w6/libmemcached]
/
lib
/
memcached_stats.c
diff --git
a/lib/memcached_stats.c
b/lib/memcached_stats.c
index 04ef31ba2678f69767b2f99a07758c25dbdec499..a20426a6339a7059cd4d14ae9d7d7a15e6ccd630 100644
(file)
--- a/
lib/memcached_stats.c
+++ b/
lib/memcached_stats.c
@@
-221,7
+221,7
@@
static memcached_return memcached_stats_fetch(memcached_st *ptr,
while (1)
{
while (1)
{
- rc= memcached_response(ptr, buffer, MEMCACHED_DEFAULT_COMMAND_SIZE, server_key);
+ rc= memcached_response(ptr, buffer, MEMCACHED_DEFAULT_COMMAND_SIZE,
NULL,
server_key);
if (rc == MEMCACHED_STAT)
{
if (rc == MEMCACHED_STAT)
{
@@
-265,7
+265,7
@@
memcached_stat_st *memcached_stat(memcached_st *ptr, char *args, memcached_retur
free(stats);
return NULL;
}
free(stats);
return NULL;
}
- memset(stats, 0, sizeof(memcached_st)*(ptr->number_of_hosts));
+ memset(stats, 0, sizeof(memcached_st
at_st
)*(ptr->number_of_hosts));
rc= MEMCACHED_SUCCESS;
for (x= 0; x < ptr->number_of_hosts; x++)
rc= MEMCACHED_SUCCESS;
for (x= 0; x < ptr->number_of_hosts; x++)