[Asterisk-cvs] asterisk/res res_musiconhold.c,1.20,1.21

markster at lists.digium.com markster at lists.digium.com
Sun Mar 21 02:39:54 CST 2004


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

Modified Files:
	res_musiconhold.c 
Log Message:
Take out unnecessary setting of delivery times.


Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- res_musiconhold.c	20 Mar 2004 23:31:40 -0000	1.20
+++ res_musiconhold.c	21 Mar 2004 07:35:40 -0000	1.21
@@ -461,8 +461,6 @@
 		f.samples = res / 2;
 		f.data = buf + AST_FRIENDLY_OFFSET / 2;
 		f.offset = AST_FRIENDLY_OFFSET;
-		f.delivery.tv_sec = 0;
-		f.delivery.tv_usec = 0;
 		if (ast_write(chan, &f)< 0) {
 			ast_log(LOG_WARNING, "Failed to write frame to '%s': %s\n", chan->name, strerror(errno));
 			return -1;




More information about the svn-commits mailing list