From fa56de9d1476e058d75044e2dcc7304d1f02fb82 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sun, 20 Jan 2008 19:05:16 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7306 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/switch_utils.c b/src/switch_utils.c index 6b4d10c7dc..041c46ea36 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -1056,7 +1056,8 @@ static char *cleanup_separated_string(char *str) int esc = 0; if (*ptr == ESCAPE_META) { - if ((e = unescape_char(*(ptr+1))) != e) { + e = *(ptr+1); + if (e == '\'' || e == '"' || (e = unescape_char(*(ptr+1))) != *(ptr+1)) { ++ptr; *dest++ = e; end = dest;