aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-04 03:45:54 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-04 03:45:54 +0000
commitdeae56ae238f8f974a943dd1a252c39de91103a5 (patch)
treedea20084aef37faf4c55724632ce555c64e0548b /apps/app_queue.c
parentc105f71f505a69e9abba05bb6f547b9d75faaf05 (diff)
Merged revisions 31921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r31921 | kpfleming | 2006-06-03 22:43:35 -0500 (Sat, 03 Jun 2006) | 2 lines return bridge exit logic to what it was before i broke it :-( ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31922 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 ba3940e48..e7a5ef93a 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2606,7 +2606,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);