Commit 7433acba authored by Pekka Pessi's avatar Pekka Pessi
Browse files

soa_static.c: fixed crash in offer_answer_step() changing only mode.

Patch contributed by Legostayev Denis.

parent d368221f
......@@ -934,7 +934,7 @@ static int offer_answer_step(soa_session_t *ss,
case process_answer:
if (soa_sdp_mode_set_is_needed(local, remote, ss->ss_hold)) {
if (local != local0) {
*local = *local, local = local0;
*local0 = *local, local = local0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment