Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv15181/pbx

Modified Files:
        pbx_ael.c 
Log Message:
Use Goto instead of GotoIf when jumping over the else block (issue #4660)


Index: pbx_ael.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_ael.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- pbx_ael.c   14 Sep 2005 20:46:50 -0000      1.11
+++ pbx_ael.c   23 Sep 2005 02:53:53 -0000      1.12
@@ -660,7 +660,7 @@
                        if (ifskip) {
                                /* Skip as appropriate around else clause */
                                snprintf(margs, mlen, "%d", ifend);
-                               if (ast_add_extension2(con, 0, exten, ifskip, 
NULL, NULL, app, strdup(margs), FREE, registrar))
+                               if (ast_add_extension2(con, 0, exten, ifskip, 
NULL, NULL, "Goto", strdup(margs), FREE, registrar))
                                        ast_log(LOG_WARNING, "Unable to add 
step at priority '%d' of %s '%s'\n", *pos, what, name);
                        }
                } else

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to