From: Steve Murphy Date: Mon, 2 Apr 2007 17:31:32 +0000 (+0000) Subject: continue in for-loop should go to the incrementer, not the test. As per 9435, thanks... X-Git-Tag: 1.4.7.1~495 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=48b277a047d547205f4d1462422766aea7f86468;p=thirdparty%2Fasterisk.git 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/branches/1.4@59688 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c index 5291518899..8d9137ceeb 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 */