[Asterisk-cvs] asterisk/channels chan_zap.c,1.437,1.438

russell at lists.digium.com russell at lists.digium.com
Tue May 10 00:20:22 CDT 2005


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

Modified Files:
	chan_zap.c 
Log Message:
revert this patch ... THIS IS NORMAL OPERATION, see the bugnotes for details (bug #4107)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.437
retrieving revision 1.438
diff -u -d -r1.437 -r1.438
--- chan_zap.c	4 May 2005 04:35:27 -0000	1.437
+++ chan_zap.c	10 May 2005 04:26:34 -0000	1.438
@@ -4406,7 +4406,8 @@
 			size = (linear ? READ_SIZE * 2 : READ_SIZE);
 		res = write(fd, buf, size);
 		if (res != size) {
-			ast_log(LOG_WARNING, "Write returned %d (%s) on channel %d - audio may have been lost\n", res, strerror(errno), p->channel);
+			if (option_debug)
+				ast_log(LOG_DEBUG, "Write returned %d (%s) on channel %d\n", res, strerror(errno), p->channel);
 			return sent;
 		}
 		len -= size;




More information about the svn-commits mailing list