From c977f70f81f8d6abeb251b56e71d67c05d4e4c6b Mon Sep 17 00:00:00 2001 From: rizzo Date: Thu, 30 Mar 2006 21:29:39 +0000 Subject: 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 --- apps/app_exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_exec.c') diff --git a/apps/app_exec.c b/apps/app_exec.c index 3b1f30a4f..2acd1b3d6 100644 --- a/apps/app_exec.c +++ b/apps/app_exec.c @@ -82,7 +82,7 @@ static int exec_exec(struct ast_channel *chan, void *data) if (appname) { app = pbx_findapp(appname); if (app) { - res = pbx_exec(chan, app, args, 1); + res = pbx_exec(chan, app, args); } else { ast_log(LOG_WARNING, "Could not find application (%s)\n", appname); res = -1; -- cgit v1.2.3