projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
e70b6d9
)
Bad data for threads (Toru patch)
author
<brian@gir-3.local>
<>
Thu, 19 Jun 2008 01:19:15 +0000
(18:19 -0700)
committer
<brian@gir-3.local>
<>
Thu, 19 Jun 2008 01:19:15 +0000
(18:19 -0700)
libmemcached/memcached_stats.c
patch
|
blob
|
history
diff --git
a/libmemcached/memcached_stats.c
b/libmemcached/memcached_stats.c
index cf3adc12dfc6e2ff296248ba52cd665309b56490..4ba2dd966497d3491ab43af72f5f9d0938d88a20 100644
(file)
--- 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
{