TT#14008 fix local SDP copy incorrectly returned from function

closes #1405

Change-Id: I12ba3970d7991a966f9403dca13a57bd0ef5120e
pull/1407/head
Richard Fuchs 4 years ago
parent 56d4ff74f2
commit 271a2a2a54

@ -1444,7 +1444,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;
}

Loading…
Cancel
Save