From 198f3f559d62bc4bb569d2589a82faffef006619 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 29 Jul 2009 10:46:41 +0200 Subject: fix typo when using sizeof() to determine the size of the RTCP header This was spotted by zecke, thanks. --- openbsc/src/rtp_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/rtp_proxy.c') diff --git a/openbsc/src/rtp_proxy.c b/openbsc/src/rtp_proxy.c index 61fc38575..158145b75 100644 --- a/openbsc/src/rtp_proxy.c +++ b/openbsc/src/rtp_proxy.c @@ -68,7 +68,7 @@ static int rtcp_sdes_cname_mangle(struct msgb *msg, struct rtcp_hdr *rh, rtcp_end = cur + *rtcp_len; /* move cur to end of RTP header */ - cur += sizeof(rh); + cur += sizeof(*rh); /* iterate over Chunks */ while (cur+4 < rtcp_end) { -- cgit v1.2.3