X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fredis.c;h=9282e1938a3263601ad674e7f3dcad45f75be544;hb=b1485d13ede10bda1c45238780e4402ab3bba7ee;hp=a40d2cd2b48b9f0880f61f61a2177b6a476e1a22;hpb=7dd2b8545fbb14d429056377da07ed6e6dbbab76;p=collectd.git diff --git a/src/redis.c b/src/redis.c index a40d2cd2..9282e193 100644 --- 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 ':' */ - 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';