aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-02 17:31:32 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-02 17:31:32 +0000
commit549d98a61f04f9bdc9c187b2be7783d5b208f1d3 (patch)
treeb8df8f5a3e572152ffaad4849ff99699e363b6d2 /pbx
parent00d22485da226d51280acf9ce757c50c4b64901d (diff)
continue in for-loop should go to the incrementer, not the test. As per 9435, thanks to marcelbarbulescu
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59688 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_ael.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index 529151889..8d9137cee 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -2993,7 +2993,7 @@ static void gen_prios(struct ael_extension *exten, char *label, pval *statement,
/* 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 */