From: Kevin P. Fleming Date: Sun, 4 Jun 2006 03:43:35 +0000 (+0000) Subject: return bridge exit logic to what it was before i broke it :-( X-Git-Tag: 1.2.9~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5684ba5966ba4cdbab159bcd55960293ce5be3df;p=thirdparty%2Fasterisk.git return bridge exit logic to what it was before i broke it :-( git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31921 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 53929b309d..6e943f31b6 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);