From 4754c37b42c628750254f4c777f83e9faeb47d3c Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 21 Jan 2013 17:58:33 +0000 Subject: [PATCH] fix copy-pasto --- modules/rtpproxy-ng/rtpproxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rtpproxy-ng/rtpproxy.c b/modules/rtpproxy-ng/rtpproxy.c index 2457359f1..896486886 100644 --- a/modules/rtpproxy-ng/rtpproxy.c +++ b/modules/rtpproxy-ng/rtpproxy.c @@ -1493,7 +1493,7 @@ unforce_rtp_proxy1_f(struct sip_msg* msg, char* str1, char* str2) if (!bencode_dictionary_add_str(dict, "via-branch", &viabranch)) goto benc_error; } - if (!bencode_dictionary_add_str(dict, "from-tag", &to_tag)) + if (!bencode_dictionary_add_str(dict, "from-tag", &from_tag)) goto benc_error; if (to_tag.s && to_tag.len && !bencode_dictionary_add_str(dict, "to-tag", &to_tag)) goto benc_error; @@ -1761,7 +1761,7 @@ force_rtp_proxy(struct sip_msg* msg, char* str1, char* str2, int offer, int forc from_tag = to_tag; to_tag = tmp; } - if (!bencode_dictionary_add_str(dict, "from-tag", &to_tag)) + if (!bencode_dictionary_add_str(dict, "from-tag", &from_tag)) goto benc_error; if (to_tag.s && to_tag.len && !bencode_dictionary_add_str(dict, "to-tag", &to_tag)) goto benc_error;