diff --git a/program/src/rrd_cgi.c b/program/src/rrd_cgi.c
index 14ce2d48cb2671d3421e16c10368e4052fa30383..9c81c1543cae8d00df10b29d273a303a2ba1baec 100644 (file)
--- a/program/src/rrd_cgi.c
+++ b/program/src/rrd_cgi.c
/*****************************************************************************
/*****************************************************************************
- * RRDtool 1.0.33 Copyright Tobias Oetiker, 1997 - 2000
+ * RRDtool 1.1.x Copyright Tobias Oetiker, 1997 - 2002
*****************************************************************************
* rrd_cgi.c RRD Web Page Generator
*****************************************************************************/
*****************************************************************************
* rrd_cgi.c RRD Web Page Generator
*****************************************************************************/
}
}
}
}
+static
char* rrdstrip(char *buf){
char *start;
if (buf == NULL) return NULL;
char* rrdstrip(char *buf){
char *start;
if (buf == NULL) return NULL;
}
/* scan aLine until an unescaped '>' arives */
}
/* scan aLine until an unescaped '>' arives */
+static
char* scanargs(char *aLine, long *argc, char ***args)
{
char *getP, *putP;
char* scanargs(char *aLine, long *argc, char ***args)
{
char *getP, *putP;
getP = aLine;
putP = aLine;
while (*getP && !( !Quote && (braket == 0) && ((*getP) == '>'))){
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){
switch (*getP) {
case ' ':
if (Quote){