aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_ael.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-28 18:13:53 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-28 18:13:53 +0000
commite4c28d165d74bcd316f2b73f359a6a0667835b19 (patch)
treea2cb9d32e1586c979afd1693f7986d8d5d5d1236 /pbx/pbx_ael.c
parentd1b8ecbb4e7e714541fca15564b258df0141978c (diff)
Merged revisions 15658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r15658 | russell | 2006-03-28 13:09:05 -0500 (Tue, 28 Mar 2006) | 2 lines fix the order in which for loops are expanded (issue #6810) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15659 f38db490-d61c-443f-a65b-d21fe96a405b
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 4b758a61b..0ab588679 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -778,8 +778,8 @@ static int __build_step(const char *what, const char *name, const char *filename
*label = NULL;
/* Remember where the whileblock starts */
forblock = (*pos);
- 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);
+ build_step("for", margs, filename, lineno, con, exten, pos, fields->next->next->data, &fillin, label);
/* Close the loop */
app = "Goto";
snprintf(margs, mlen, "%d", forstart);