summaryrefslogtreecommitdiff
path: root/pbx/pbx_ael.c
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-04-02 17:38:12 +0000
committerSteve Murphy <murf@digium.com>2007-04-02 17:38:12 +0000
commitf120c26ec17c1a2fe29fe0a7e4f1a1dbe050877b (patch)
tree307df4f08cd117df143817b62d4aa736db3f277e /pbx/pbx_ael.c
parentc7e3eee1e7cf457e77100496c58bdf91ac920246 (diff)
Merged revisions 59688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r59688 | murf | 2007-04-02 11:31:32 -0600 (Mon, 02 Apr 2007) | 1 line continue in for-loop should go to the incrementer, not the test. As per 9435, thanks to marcelbarbulescu ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_ael.c')
-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 0a43ff0cf..f62e95d93 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -3135,7 +3135,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 */