X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_cgi.c;h=df4a9dcdfbd5b14dccaa4b9eb7875c22d89d970b;hb=598d28c0200dddef0e3a8309e95958a5980bd2ea;hp=1ffe8fd4639559668a2798d2bc208b42985cb14c;hpb=f8a299184c27cbc7f15d7ce9172bf89f121f0705;p=rrdtool.git diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c index 1ffe8fd..df4a9dc 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;