]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use the proper format string to print unsigned values in the rtp debug output.
authorRussell Bryant <russell@russellbryant.com>
Wed, 31 Jan 2007 17:41:51 +0000 (17:41 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 31 Jan 2007 17:41:51 +0000 (17:41 +0000)
(issue #8954, wmis)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53039 65c4cc65-6c06-0410-ace0-fbb531ad65f3

rtp.c

diff --git a/rtp.c b/rtp.c
index dfdfb88ef45f72e508309b2f83f93306d9f2e2a3..13dab38dccaacebca0287a1d131be63b1af8fef8 100644 (file)
--- 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);