[asterisk-commits] branch 1.2 r15658 - /branches/1.2/pbx/pbx_ael.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 28 11:09:11 MST 2006


Author: russell
Date: Tue Mar 28 12:09:05 2006
New Revision: 15658

URL: http://svn.digium.com/view/asterisk?rev=15658&view=rev
Log:
fix the order in which for loops are expanded (issue #6810)

Modified:
    branches/1.2/pbx/pbx_ael.c

Modified: branches/1.2/pbx/pbx_ael.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/pbx/pbx_ael.c?rev=15658&r1=15657&r2=15658&view=diff
==============================================================================
--- branches/1.2/pbx/pbx_ael.c (original)
+++ branches/1.2/pbx/pbx_ael.c Tue Mar 28 12:09:05 2006
@@ -778,8 +778,8 @@
 				*label = NULL;
 				/* Remember where the whileblock starts */
 				forblock = (*pos);
+				build_step("for", margs, filename, lineno, con, exten, pos, c, &fillin, label);
 				build_step("for", margs, filename, lineno, con, exten, pos, fields->next->next->data, &fillin, label);
-				build_step("for", margs, filename, lineno, con, exten, pos, c, &fillin, label);
 				/* Close the loop */
 				app = "Goto";
 				snprintf(margs, mlen, "%d", forstart);



More information about the asterisk-commits mailing list