projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Put the doc and version back into the configure.ac
[m6w6/libmemcached]
/
libmemcached
/
stats.c
diff --git
a/libmemcached/stats.c
b/libmemcached/stats.c
index 4f3bdb0d0af548b15fa2465d16feb1c209dba674..957c5b615a28b2f6a1c56dc3ecf53ff4d18dbadd 100644
(file)
--- a/
libmemcached/stats.c
+++ b/
libmemcached/stats.c
@@
-369,7
+369,7
@@
memcached_stat_st *memcached_stat(memcached_st *ptr, char *args, memcached_retur
return NULL;
}
return NULL;
}
- stats= ptr->call_calloc(ptr,
ptr->number_of_hosts
, sizeof(memcached_stat_st));
+ stats= ptr->call_calloc(ptr,
memcached_server_count(ptr)
, sizeof(memcached_stat_st));
stats->root= ptr;
stats->root= ptr;
@@
-380,7
+380,7
@@
memcached_stat_st *memcached_stat(memcached_st *ptr, char *args, memcached_retur
}
rc= MEMCACHED_SUCCESS;
}
rc= MEMCACHED_SUCCESS;
- for (x= 0; x <
ptr->number_of_hosts
; x++)
+ for (x= 0; x <
memcached_server_count(ptr)
; x++)
{
memcached_return_t temp_return;
{
memcached_return_t temp_return;