[Asterisk-cvs] asterisk/channels chan_zap.c,1.171.2.20,1.171.2.21

citats at lists.digium.com citats at lists.digium.com
Sat Apr 17 19:45:01 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/citats/cvs/asterisk-stable/channels

Modified Files:
      Tag: v1-0_stable
	chan_zap.c 
Log Message:
Fix compile warning in chan_zap if libpri not installed


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.171.2.20
retrieving revision 1.171.2.21
diff -u -d -r1.171.2.20 -r1.171.2.21
--- chan_zap.c	17 Apr 2004 23:45:25 -0000	1.171.2.20
+++ chan_zap.c	17 Apr 2004 23:48:34 -0000	1.171.2.21
@@ -7202,9 +7202,9 @@
 static int __unload_module(void)
 {
 	int x = 0;
-	int i;
 	struct zt_pvt *p, *pl;
 #ifdef ZAPATA_PRI
+	int i;
 	for(i=0;i<NUM_SPANS;i++) {
 		pthread_cancel(pris[i].master);
 	}




More information about the svn-commits mailing list