[Asterisk-cvs] asterisk/channels chan_iax2.c,1.154,1.155

markster at lists.digium.com markster at lists.digium.com
Wed Jun 16 08:47:44 CDT 2004


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

Modified Files:
	chan_iax2.c 
Log Message:
Remove ancient requirement that ts > 0


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- chan_iax2.c	15 Jun 2004 15:16:16 -0000	1.154
+++ chan_iax2.c	16 Jun 2004 13:52:50 -0000	1.155
@@ -2848,12 +2848,6 @@
 	iax_frame_wrap(fr, f);
 
 	fr->ts = fts;
-	if (!fr->ts) {
-		ast_log(LOG_WARNING, "timestamp is 0?\n");
-		if (!now)
-			iax2_frame_free(fr);
-		return -1;
-	}
 	fr->callno = pvt->callno;
 	fr->transfer = transfer;
 	fr->final = final;




More information about the svn-commits mailing list