projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
83d63a1
)
Fixed wrong strtol for stat.
author
<brian@localhost.localdomain>
<>
Mon, 21 Apr 2008 18:21:12 +0000
(11:21 -0700)
committer
<brian@localhost.localdomain>
<>
Mon, 21 Apr 2008 18:21:12 +0000
(11:21 -0700)
libmemcached/memcached_stats.c
patch
|
blob
|
history
diff --git
a/libmemcached/memcached_stats.c
b/libmemcached/memcached_stats.c
index a1ef99f3a945b374bdf7b5ad1d3bbc05e7da4a26..3abc9b195e5391949f9111b93c9736eea6df12c0 100644
(file)
--- a/
libmemcached/memcached_stats.c
+++ b/
libmemcached/memcached_stats.c
@@
-130,7
+130,7
@@
static void set_data(memcached_stat_st *stat, char *key, char *value)
}
else if (!strcmp("limit_maxbytes", key))
{
- stat->limit_maxbytes= strtol(value, (char **)NULL, 10);
+ stat->limit_maxbytes= strtol
l
(value, (char **)NULL, 10);
}
else if (!strcmp("threads", key))
{