diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-12 21:42:51 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-12 21:42:51 +0000 |
commit | 140cc11b109b91e3742b72a2e4f40ecde763860d (patch) | |
tree | ca5480ec85357aa41ed2deff1e928c361939826c /channels | |
parent | e1ca7e71a4717bfaf44aaeb62dce6e96e3a0b7ac (diff) |
fix typo. Bug #813
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1987 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e1a672284..242b1cb54 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2551,7 +2551,7 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p, struct ast_rtp * if (x < AST_FORMAT_MAX_AUDIO) { strncat(m, costr, sizeof(m) - strlen(m)); snprintf(costr, sizeof(costr), "a=rtpmap:%d %s/8000\r\n", codec, ast_rtp_lookup_mime_subtype(1, x)); - strncat(a, costr, sizeof(m) - strlen(a)); + strncat(a, costr, sizeof(a) - strlen(a)); } else { strncat(m2, costr, sizeof(m2) - strlen(m2)); snprintf(costr, sizeof(costr), "a=rtpmap:%d %s/90000\r\n", codec, ast_rtp_lookup_mime_subtype(1, x)); |