projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* mysql plugin: Change Sort_* types
[collectd.git]
/
src
/
redis.c
diff --git
a/src/redis.c
b/src/redis.c
index
a40d2cd
..
9282e19
100644
(file)
--- a/
src/redis.c
+++ b/
src/redis.c
@@
-304,7
+304,7
@@
int redis_handle_info (char *node, char const *info_line, char const *type, char
int i;
str += strlen (field_name) + 1; /* also skip the ':' */
int i;
str += strlen (field_name) + 1; /* also skip the ':' */
- for(i=0;(*str && (isdigit(*str) || *str == '.'));i++,str++)
+ for(i=0;(*str && (isdigit(
(unsigned char)
*str) || *str == '.'));i++,str++)
buf[i] = *str;
buf[i] ='\0';
buf[i] = *str;
buf[i] ='\0';