From: Anthony Minessale Date: Sun, 20 Jan 2008 19:05:16 +0000 (+0000) Subject: update X-Git-Tag: v1.0-rc1~602 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa56de9d1476e058d75044e2dcc7304d1f02fb82;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7306 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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;