summaryrefslogtreecommitdiff
path: root/apps/app_page.c
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-03-30 21:29:39 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-03-30 21:29:39 +0000
commit6c232811c0bf80366955a6bcfb0f7619c4d65717 (patch)
tree19e1a3bfe72426fb7dbb848341e68fd087e1fcbd /apps/app_page.c
parentc6d1bfbb31696458618c7fca0ba42cfedbd3f354 (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: https://origsvn.digium.com/svn/asterisk/trunk@16558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_page.c')
-rw-r--r--apps/app_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_page.c b/apps/app_page.c
index d848fb875..a9ad2c16d 100644
--- a/apps/app_page.c
+++ b/apps/app_page.c
@@ -186,7 +186,7 @@ static int page_exec(struct ast_channel *chan, void *data)
}
if (!res) {
snprintf(meetmeopts, sizeof(meetmeopts), "%ud|A%sqxd", confid, ast_test_flag(&flags, PAGE_DUPLEX) ? "" : "t");
- pbx_exec(chan, app, meetmeopts, 1);
+ pbx_exec(chan, app, meetmeopts);
}
LOCAL_USER_REMOVE(u);