[Asterisk-cvs] asterisk/channels chan_zap.c,1.179,1.180

citats at lists.digium.com citats at lists.digium.com
Tue Mar 2 23:03:46 CST 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Make PRI span completion only show spans that actually are PRIs


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -d -r1.179 -r1.180
--- chan_zap.c	23 Feb 2004 14:58:18 -0000	1.179
+++ chan_zap.c	3 Mar 2004 03:54:25 -0000	1.180
@@ -6761,7 +6761,7 @@
 	int span=1;
 	char tmp[50];
 	while(span <= NUM_SPANS) {
-		if (span > state)
+		if (span > state && pris[span-1].pri)
 			break;
 		span++;
 	}




More information about the svn-commits mailing list