From 6c232811c0bf80366955a6bcfb0f7619c4d65717 Mon Sep 17 00:00:00 2001 From: Luigi 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: https://origsvn.digium.com/svn/asterisk/trunk@16558 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_agi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/res_agi.c') diff --git a/res/res_agi.c b/res/res_agi.c index 2a6849a68..e88920da3 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -1090,7 +1090,7 @@ static int handle_exec(struct ast_channel *chan, AGI *agi, int argc, char **argv app = pbx_findapp(argv[1]); if (app) { - res = pbx_exec(chan, app, argv[2], 1); + res = pbx_exec(chan, app, argv[2]); } else { ast_log(LOG_WARNING, "Could not find application (%s)\n", argv[1]); res = -2; -- cgit v1.2.3