Merged revisions 30424 via svnmerge from
authorBJ Weschke <bweschke@btwtech.com>
Thu, 25 May 2006 21:24:12 +0000 (21:24 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Thu, 25 May 2006 21:24:12 +0000 (21:24 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30424 | bweschke | 2006-05-25 17:22:16 -0400 (Thu, 25 May 2006) | 3 lines

 Oops.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30426 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 15e123a..d5db805 100644 (file)
@@ -2488,7 +2488,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 ? 0 : -1;
+               res = bridge ? -1 : 0;
        }
 out:
        hangupcalls(outgoing, NULL);