From 21542540e8b68e41f87d1c931955dc429bd59921 Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Thu, 14 Mar 2013 08:53:39 +0100 Subject: [PATCH] only \: should be handled here other escapes are handled later on --- src/rrd_graph_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.47.3