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

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

Patch contributed by Legostayev Denis.

darcs-hash:20060724210632-65a35-61f8e99dc8c9ce42f6d28517c788f219bc6cd22b.gz
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;
DUP_LOCAL(local);
}
......
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