[Asterisk-cvs] asterisk/channels chan_zap.c,1.289,1.290

markster at lists.digium.com markster at lists.digium.com
Mon Jun 28 21:58:04 CDT 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Make sure pollres is initialized to 0


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.289
retrieving revision 1.290
diff -u -d -r1.289 -r1.290
--- chan_zap.c	26 Jun 2004 18:38:19 -0000	1.289
+++ chan_zap.c	29 Jun 2004 01:43:55 -0000	1.290
@@ -5320,7 +5320,7 @@
 
 static void *do_monitor(void *data)
 {
-	int count, res, res2, spoint, pollres;
+	int count, res, res2, spoint, pollres=0;
 	struct zt_pvt *i;
 	struct zt_pvt *last = NULL;
 	time_t thispass = 0, lastpass = 0;




More information about the svn-commits mailing list