From: Tobias Oetiker Date: Thu, 14 Mar 2013 07:53:39 +0000 (+0100) Subject: only \: should be handled here other escapes are handled later on X-Git-Tag: v1.5.0-rc1~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21542540e8b68e41f87d1c931955dc429bd59921;p=thirdparty%2Frrdtool-1.x.git only \: should be handled here other escapes are handled later on --- diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c index 7bfafb5a..96e1ee9c 100644 --- a/src/rrd_graph_helper.c +++ b/src/rrd_graph_helper.c @@ -205,7 +205,7 @@ int parseArguments(const char* origarg, parsedargs_t* pa) { switch (c) { /* if the char is a backslash, then this escapes the next one */ case '\\': - if (pos[1]) { + if (pos[1] == ':') { /* move up the rest of the string to eat the backslash */ memmove(pos,pos+1,strlen(pos+1)+1); }