]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Oops.
authorBJ Weschke <bweschke@btwtech.com>
Thu, 25 May 2006 21:22:16 +0000 (21:22 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Thu, 25 May 2006 21:22:16 +0000 (21:22 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30424 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 704573de5a2dff82bf65d9bd023ea0ac87339402..58a85813c83ed066b192ecc745970625fb74ddd9 100644 (file)
@@ -2313,7 +2313,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);