aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-26 22:14:59 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-26 22:14:59 +0000
commit4af2c0074afcb295979d5d857477db3272b9c99c (patch)
tree18595572fd7dc1a327f8a8fb94fe320222c92166 /main
parent812410612f84f1fce72b6ab706dfc114aa523a0f (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@144758 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/pbx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 3d820ec5c..b9bdc9ba5 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;