]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
closes issue #11108 -- where the 'dialplan save' cli command saves a file where the...
authorSteve Murphy <murf@digium.com>
Wed, 31 Oct 2007 17:49:39 +0000 (17:49 +0000)
committerSteve Murphy <murf@digium.com>
Wed, 31 Oct 2007 17:49:39 +0000 (17:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@87849 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_config.c

index 5f2a963112a2041b1be5acb952941a9bacf6da8f..4a106b96c3e3d4d2f53cd72cd66ceff128d9b968 100644 (file)
@@ -1334,7 +1334,7 @@ static int handle_save_dialplan(int fd, int argc, char *argv[])
                                                        if (*s == '|')
                                                                *t = ',';
                                                        else {
-                                                               if (*s == ',')
+                                                               if (*s == ',' || *s == ';')
                                                                        *t++ = '\\';
                                                                *t = *s;
                                                        }