[asterisk-commits] murf: branch 1.4 r59688 - /branches/1.4/pbx/pbx_ael.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Apr 2 10:31:33 MST 2007


Author: murf
Date: Mon Apr  2 12:31:32 2007
New Revision: 59688

URL: http://svn.digium.com/view/asterisk?view=rev&rev=59688
Log:
continue in for-loop should go to the incrementer, not the test. As per 9435, thanks to marcelbarbulescu

Modified:
    branches/1.4/pbx/pbx_ael.c

Modified: branches/1.4/pbx/pbx_ael.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/pbx/pbx_ael.c?view=diff&rev=59688&r1=59687&r2=59688
==============================================================================
--- branches/1.4/pbx/pbx_ael.c (original)
+++ branches/1.4/pbx/pbx_ael.c Mon Apr  2 12:31:32 2007
@@ -2993,7 +2993,7 @@
 			
 			/* now, put the body of the for loop here */
 			exten->loop_break = for_end;
-			exten->loop_continue = for_test;
+			exten->loop_continue = for_inc;
 			
 			gen_prios(exten, new_label, p->u4.for_statements, mother_exten, this_context); /* this will link in all the statements here */
 			



More information about the asterisk-commits mailing list