From 99574a8addafa49e73010a0999e9f6fefff344ee Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 25 Nov 2021 13:58:31 -0500 Subject: [PATCH] TT#14008 fix local SDP copy incorrectly returned from function closes #1405 Change-Id: I12ba3970d7991a966f9403dca13a57bd0ef5120e (cherry picked from commit 271a2a2a54c89d2a7d2b1d4353d8edb82613f9f2) --- daemon/call_interfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index 9df598f8d..196b88211 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -1418,7 +1418,7 @@ static const char *call_offer_answer_ng(struct ng_buffer *ngbuf, bencode_item_t if (flags.loop_protect && sdp_is_duplicate(&parsed)) { ilog(LOG_INFO, "Ignoring message as SDP has already been processed by us"); - bencode_dictionary_add_str(output, "sdp", &sdp); + bencode_dictionary_add_str(output, "sdp", &flags.sdp); errstr = NULL; goto out; }