From 02d2b17006e8a42a03b09b9a9721727ecc543087 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Fri, 26 Sep 2008 22:14:59 +0000 Subject: [PATCH] This patch was applied to 1.4 but it completely does not apply since the "found" pointer is not passed in to this function. If this is going to be backported, it needs to be done differently or a deeper backport needs to be done. Edit: This commit reverts commit number 144677. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@144758 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/pbx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/pbx.c b/main/pbx.c index 3d820ec5c7..b9bdc9ba50 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1862,8 +1862,6 @@ static int pbx_extension_helper(struct ast_channel *c, struct ast_context *con, return pbx_exec(c, app, passdata); /* 0 on success, -1 on failure */ } } else if (q.swo) { /* not found here, but in another switch */ - if (found) - *found = 1; ast_unlock_contexts(); if (matching_action) { return -1;