Commit f3c2b5ce authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Fix generating offers. (kv)

darcs-hash:20050922123707-65a35-9f76beb2fe5e16151512616c07e21905ff4e95f3.gz
parent 57f1361a
2005-09-19 Kai Vehmanen <kai.vehmanen@nokia.com>
* soa_static.c: Fix generating offers.
2005-08-17 Pekka Pessi <Pekka.Pessi@nokia.com>
* Updated API. Added tester.
......
......@@ -169,9 +169,6 @@ static int soa_static_generate_offer(soa_session_t *ss,
return soa_set_status(ss, 500, "No local session available");
}
if (ss->ss_local->ssd_sdp)
return 0; /* We are done */
/* Generate a dummy SDP offer based on our capabilities */
if (soa_set_local_sdp(ss, ss->ss_caps->ssd_unparsed, -1) < 0)
return -1;
......@@ -196,9 +193,6 @@ static int soa_static_generate_answer(soa_session_t *ss,
return soa_set_status(ss, 500, "No local session available");
}
if (ss->ss_local->ssd_sdp)
return 0; /* We are done */
/* Generate a dummy SDP offer based on our capabilities */
if (soa_set_local_sdp(ss, ss->ss_caps->ssd_unparsed, -1) < 0)
return -1;
......
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