diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-04 03:43:35 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-04 03:43:35 +0000 |
commit | fd3835d69af736fe96314979822eb5bd15e977f0 (patch) | |
tree | 57c866a73eb7c9041c1a28ec075f05ca6bfca75e | |
parent | 2b0b0df6b295bf89bf6f1495ad0ed7f1b3201cd5 (diff) |
return bridge exit logic to what it was before i broke it :-(
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@31921 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_queue.c | 2 |
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); |