$NetBSD: patch-src_rrd__xport.c,v 1.1 2016/08/27 07:40:23 dholland Exp $ Use correctly. --- src/rrd_xport.c~ 2016-04-19 15:52:26.000000000 +0000 +++ src/rrd_xport.c @@ -547,7 +547,7 @@ int rrd_xport_format_sv(char sep, string if (addToBuffer(buffer,"\"time\"",6)) { return 1; } for(unsigned long i=0;igdes[i].legend; /* I do not know why the legend is "spaced", but let us skip it */ - while(isspace(*entry)){entry++;} + while(isspace((unsigned char)*entry)){entry++;} if (json) { snprintf(buf,sizeof(buf),",\n { \"line\": \"%s\" }",entry); } else {