aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-04 04:05:13 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-04 04:05:13 +0000
commitb823509d724934c076cfcb8324ae042eae0cfa66 (patch)
tree78c2fcafb1328d8f80464949002b7396cb96a971 /apps/app_queue.c
parentca96414a740476e12c4e1cddb21294a7ea8d8634 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@31951 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 53929b309..6e943f31b 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2431,7 +2431,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
if (bridge != AST_PBX_NO_HANGUP_PEER)
ast_hangup(peer);
update_queue(qe->parent, member);
- res = bridge ? -1 : 0;
+ res = bridge ? bridge : 1;
}
out:
hangupcalls(outgoing, NULL);