From: Tobias Oetiker Date: Wed, 26 Jan 2011 08:38:47 +0000 (+0000) Subject: as rrd_cgi fails to parse stuff, do NOT try to fix up the mess ... it is bound to... X-Git-Tag: 1.4.6~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=061396af0335f4768684feddb8a1721f5e3c2cd6;p=thirdparty%2Frrdtool-1.x.git as rrd_cgi fails to parse stuff, do NOT try to fix up the mess ... it is bound to fail git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2174 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c index e8e4f719..7267cd6c 100644 --- a/src/rrd_cgi.c +++ b/src/rrd_cgi.c @@ -1258,11 +1258,6 @@ int parse( val = func(argc, (const char **) args); free(args-1); } else { - /* unable to parse arguments, undo 0-termination by scanargs */ - for (; argc > 0; argc--) { - *((args[argc - 1]) - 1) = ' '; - } - /* next call, try parsing at current offset +1 */ end = (*buf) + i + 1;