[Asterisk-cvs] asterisk ChangeLog,1.54,1.55 rtp.c,1.152,1.153

kpfleming kpfleming
Mon Nov 7 20:53:42 CST 2005


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

Modified Files:
	ChangeLog rtp.c 
Log Message:
issue #5595


Index: ChangeLog
===================================================================
RCS file: /usr/cvsroot/asterisk/ChangeLog,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- ChangeLog	8 Nov 2005 01:29:14 -0000	1.54
+++ ChangeLog	8 Nov 2005 01:44:47 -0000	1.55
@@ -1,5 +1,7 @@
 2005-11-07  Kevin P. Fleming  <kpfleming at digium.com>
 
+	* rtp.c: use unsigned format for debug packet output (issue #5595)
+
 	* asterisk.c (main): force a dnsmgr background refresh after all other modules are initialized (issue #5599)
 	* dnsmgr.c: add ability to start a background refresh on demand (issue #5599)
 

Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- rtp.c	1 Nov 2005 00:06:43 -0000	1.152
+++ rtp.c	8 Nov 2005 01:44:47 -0000	1.153
@@ -1149,7 +1149,7 @@
 					ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr),
 					ntohs(rtp->them.sin_port), strerror(errno));
 			if (rtp_debug_test_addr(&rtp->them))
-				ast_verbose("Sent RTP packet to %s:%d (type %d, seq %d, ts %d, len %d)\n",
+				ast_verbose("Sent RTP packet to %s:%d (type %d, seq %u, ts %u, len %u)\n",
 					    ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr),
 					    ntohs(rtp->them.sin_port), payload, rtp->seqno, rtp->lastdigitts, res - hdrlen);
 		}
@@ -1292,7 +1292,7 @@
 		}
 				
 		if(rtp_debug_test_addr(&rtp->them))
-			ast_verbose("Sent RTP packet to %s:%d (type %d, seq %d, ts %d, len %d)\n"
+			ast_verbose("Sent RTP packet to %s:%d (type %d, seq %u, ts %u, len %u)\n"
 					, ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr), ntohs(rtp->them.sin_port), codec, rtp->seqno, rtp->lastts,res - hdrlen);
 	}
 




More information about the svn-commits mailing list