From f1859981aba1ce5ef2b5d6e984f7a086a02c8360 Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 26 Jan 2011 08:38:47 +0000 Subject: [PATCH] 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.3@2174 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_cgi.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/program/src/rrd_cgi.c b/program/src/rrd_cgi.c index 22567024..5b5e5511 100644 --- a/program/src/rrd_cgi.c +++ b/program/src/rrd_cgi.c @@ -1244,11 +1244,6 @@ int parse( val = func(argc, (const char **) args); free(args); } 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; -- 2.30.2