From: Date: Thu, 19 Jun 2008 01:19:15 +0000 (-0700) Subject: Bad data for threads (Toru patch) X-Git-Tag: 0.22~8 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f562c49d93b63a33b4c914a1c5b0ec43576aaafc;p=m6w6%2Flibmemcached Bad data for threads (Toru patch) --- diff --git a/libmemcached/memcached_stats.c b/libmemcached/memcached_stats.c index cf3adc12..4ba2dd96 100644 --- a/libmemcached/memcached_stats.c +++ b/libmemcached/memcached_stats.c @@ -134,7 +134,7 @@ static void set_data(memcached_stat_st *stat, char *key, char *value) } else if (!strcmp("threads", key)) { - stat->threads= strtol(key, (char **)NULL, 10); + stat->threads= strtol(value, (char **)NULL, 10); } else {