[Asterisk-cvs] asterisk/apps app_queue.c,1.163,1.164

russell russell
Wed Sep 28 15:36:21 CDT 2005


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;




More information about the svn-commits mailing list