[Asterisk-cvs] asterisk/channels chan_zap.c,1.171.2.6,1.171.2.7

citats at lists.digium.com citats at lists.digium.com
Tue Mar 2 23:06:57 CST 2004


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

Modified Files:
      Tag: v1-0_stable
	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.171.2.6
retrieving revision 1.171.2.7
diff -u -d -r1.171.2.6 -r1.171.2.7
--- chan_zap.c	23 Feb 2004 14:58:51 -0000	1.171.2.6
+++ chan_zap.c	3 Mar 2004 03:57:36 -0000	1.171.2.7
@@ -6750,7 +6750,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