Fix substantial typo in pbx_config
authorMark Spencer <markster@digium.com>
Wed, 14 May 2003 13:15:28 +0000 (13:15 +0000)
committerMark Spencer <markster@digium.com>
Wed, 14 May 2003 13:15:28 +0000 (13:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1019 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_config.c

index d077b51..bfec603 100755 (executable)
@@ -995,7 +995,7 @@ static int handle_save_dialplan(int fd, int argc, char *argv[])
                                                        context_header_written = 1;
                                                }
 
-                                               if (!ast_get_extension_priority(p)==PRIORITY_HINT)
+                                               if (ast_get_extension_priority(p)!=PRIORITY_HINT)
                                                        fprintf(output, "exten => %s,%d,%s,%s\n",
                                                            ast_get_extension_name(p),
                                                            ast_get_extension_priority(p),