summaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-07-29 10:46:41 +0200
committerHarald Welte <laforge@gnumonks.org>2009-07-29 10:47:28 +0200
commit198f3f559d62bc4bb569d2589a82faffef006619 (patch)
tree3c9007e4ea205b5d38125f17784ef3079b67bc13 /openbsc/src
parent9e527ce662d347ef737d4ed283200d42a37879c5 (diff)
fix typo when using sizeof() to determine the size of the RTCP header
This was spotted by zecke, thanks.
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/rtp_proxy.c2
1 files changed, 1 insertions, 1 deletions
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) {