diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-30 21:29:39 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-30 21:29:39 +0000 |
commit | c977f70f81f8d6abeb251b56e71d67c05d4e4c6b (patch) | |
tree | 19e1a3bfe72426fb7dbb848341e68fd087e1fcbd /apps/app_while.c | |
parent | 1c79f1e9fb0aafeba06856ef93eb544c60fd67e0 (diff) |
as discussed with Mark a few weeks ago, the 'newstack' argument
in pbx_exec is always 1 so it can be removed.
This change also takes away ast_exec_extension(), and lets all
switch functions (exists, canmatch, exec, matchmore) all use the same
prototype, which makes the code a bit cleaner.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16558 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_while.c')
-rw-r--r-- | apps/app_while.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_while.c b/apps/app_while.c index 423858a8e..8805e60b5 100644 --- a/apps/app_while.c +++ b/apps/app_while.c @@ -101,7 +101,7 @@ static int execif_exec(struct ast_channel *chan, void *data) { if (ast_true(expr)) { if ((app = pbx_findapp(myapp))) { - res = pbx_exec(chan, app, mydata, 1); + res = pbx_exec(chan, app, mydata); } else { ast_log(LOG_WARNING, "Count not find application! (%s)\n", myapp); res = -1; |