aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-31 17:41:51 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-31 17:41:51 +0000
commitfbe78184d497f15c4e30c0fc90e7250afd7be7f1 (patch)
tree119a96e79112a67fdb782a12d1d3cb228c7e5ba5 /rtp.c
parent5bba369dc576def82603efb24de949e2e6b83a3d (diff)
Use the proper format string to print unsigned values in the rtp debug output.
(issue #8954, wmis) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53039 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rw-r--r--rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtp.c b/rtp.c
index dfdfb88ef..13dab38dc 100644
--- a/rtp.c
+++ b/rtp.c
@@ -522,7 +522,7 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp)
}
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);