[Asterisk-cvs] asterisk/channels chan_zap.c,1.207,1.208

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


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

Modified Files:
	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.207
retrieving revision 1.208
diff -u -d -r1.207 -r1.208
--- chan_zap.c	16 Apr 2004 18:00:00 -0000	1.207
+++ chan_zap.c	17 Apr 2004 23:48:19 -0000	1.208
@@ -7334,9 +7334,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