diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-07-29 10:46:41 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-07-29 10:47:28 +0200 |
commit | 198f3f559d62bc4bb569d2589a82faffef006619 (patch) | |
tree | 3c9007e4ea205b5d38125f17784ef3079b67bc13 /openbsc/src/rtp_proxy.c | |
parent | 9e527ce662d347ef737d4ed283200d42a37879c5 (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/rtp_proxy.c')
-rw-r--r-- | openbsc/src/rtp_proxy.c | 2 |
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) { |