[Asterisk-cvs] asterisk/channels chan_zap.c,1.174,1.175

markster at lists.digium.com markster at lists.digium.com
Wed Feb 18 11:45:58 CST 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Minor file.c cleanup for valgrind, log PRI event properly


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -d -r1.174 -r1.175
--- chan_zap.c	15 Feb 2004 07:35:32 -0000	1.174
+++ chan_zap.c	18 Feb 2004 16:32:49 -0000	1.175
@@ -6661,7 +6661,7 @@
 			x = 0;
 			res = ioctl(pri->fd, ZT_GETEVENT, &x);
 			if (x) 
-				printf("PRI got event: %d\n", x);
+				ast_log(LOG_NOTICE, "PRI got event: %d on span %d\n", x, pri->span);
 			if (option_debug)
 				ast_log(LOG_DEBUG, "Got event %s (%d) on D-channel for span %d\n", event2str(x), x, pri->span);
 		}




More information about the svn-commits mailing list