]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Sun, 20 Jan 2008 19:05:16 +0000 (19:05 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sun, 20 Jan 2008 19:05:16 +0000 (19:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7306 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_utils.c

index 6b4d10c7dccae080df21b067e06ac29c77db2317..041c46ea366d1a39d7a23137b8b630e1e043370a 100644 (file)
@@ -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;