Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv6490/apps

Modified Files:
        app_queue.c 
Log Message:
fix logic error that breaks queue exit (issue #5312)


Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -d -r1.163 -r1.164
--- app_queue.c 26 Sep 2005 00:41:28 -0000      1.163
+++ app_queue.c 28 Sep 2005 19:33:00 -0000      1.164
@@ -1021,7 +1021,8 @@
        }
 
        /* We have an exact match */
-       if (ast_goto_if_exists(qe->chan, qe->context, qe->digits, 1)) {
+       if (!ast_goto_if_exists(qe->chan, qe->context, qe->digits, 1)) {
+               /* Return 1 on a successful goto */
                return 1;
        }
        return 0;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to