Commit accf7823 authored by Olivier Crête's avatar Olivier Crête

agent: Remove duplicated early return

The type is already checked to not be peer reflexive earlier.
parent 39ae272b
...@@ -3876,10 +3876,6 @@ static gboolean priv_add_remote_candidate ( ...@@ -3876,10 +3876,6 @@ static gboolean priv_add_remote_candidate (
else { else {
/* case 2: add a new candidate */ /* case 2: add a new candidate */
if (type == NICE_CANDIDATE_TYPE_PEER_REFLEXIVE) {
nice_debug("Agent %p : Warning: ignoring externally set peer-reflexive candidate!", agent);
return FALSE;
}
candidate = nice_candidate_new (type); candidate = nice_candidate_new (type);
candidate->stream_id = stream_id; candidate->stream_id = stream_id;
......
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