From 2c1d0bf7c825b1fc644b57e543ad1149a5f8349c 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 a42866711..79f13b368 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -1421,7 +1421,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; }