[Asterisk-cvs] asterisk/channels chan_zap.c,1.171.2.2,1.171.2.3

markster at lists.digium.com markster at lists.digium.com
Wed Feb 18 11:46:42 CST 2004


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

Modified Files:
      Tag: v1-0_stable
	chan_zap.c 
Log Message:
Minor file cleanup for valgrind, print PRI event clearly


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.171.2.2
retrieving revision 1.171.2.3
diff -u -d -r1.171.2.2 -r1.171.2.3
--- chan_zap.c	10 Feb 2004 07:42:32 -0000	1.171.2.2
+++ chan_zap.c	18 Feb 2004 16:33:34 -0000	1.171.2.3
@@ -6656,7 +6656,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