From: oetiker Date: Fri, 8 Feb 2002 18:40:37 +0000 (+0000) Subject: allow rrd_cgi to deal with umlauts -- Alexander Schwartz git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@77 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_cgi.c b/program/src/rrd_cgi.c index 0c4f6de7..f6a5908c 100644 --- a/program/src/rrd_cgi.c +++ b/program/src/rrd_cgi.c @@ -459,7 +459,7 @@ char* scanargs(char *aLine, long *argc, char ***args) getP = aLine; putP = aLine; while (*getP && !( !Quote && (braket == 0) && ((*getP) == '>'))){ - if (*getP < ' ') *getP = ' '; /*remove all special chars*/ + if ((unsigned)*getP < ' ') *getP = ' '; /*remove all special chars*/ switch (*getP) { case ' ': if (Quote){