From b5080d2d2d0f82f4e9b2e0b0745f8f328edec3b9 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 8 Feb 2002 18:40:37 +0000 Subject: [PATCH] allow rrd_cgi to deal with umlauts -- Alexander Schwartz git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@77 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_cgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c index 0c4f6de..f6a5908 100644 --- a/src/rrd_cgi.c +++ b/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){ -- 2.30.2