[asterisk-commits] russell: branch 1.2 r53039 - /branches/1.2/rtp.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jan 31 10:41:52 MST 2007


Author: russell
Date: Wed Jan 31 11:41:51 2007
New Revision: 53039

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53039
Log:
Use the proper format string to print unsigned values in the rtp debug output.
(issue #8954, wmis)

Modified:
    branches/1.2/rtp.c

Modified: branches/1.2/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/rtp.c?view=diff&rev=53039&r1=53038&r2=53039
==============================================================================
--- branches/1.2/rtp.c (original)
+++ branches/1.2/rtp.c Wed Jan 31 11:41:51 2007
@@ -522,7 +522,7 @@
 	}
 
 	if(rtp_debug_test_addr(&sin))
-		ast_verbose("Got RTP packet from %s:%d (type %d, seq %d, ts %d, len %d)\n"
+		ast_verbose("Got RTP packet from %s:%u (type %d, seq %u, ts %u, len %d)\n"
 			, ast_inet_ntoa(iabuf, sizeof(iabuf), sin.sin_addr), ntohs(sin.sin_port), payloadtype, seqno, timestamp,res - hdrlen);
 
    rtpPT = ast_rtp_lookup_pt(rtp, payloadtype);



More information about the asterisk-commits mailing list