diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2021-05-03 17:04:34 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2021-05-03 18:42:43 -0400 |
commit | accf7823b87db3a8d7c4ee32fe4bf107c9e9a4ed (patch) | |
tree | 8548b5bbdf9639f52fde8aa47ee32d317645bb77 | |
parent | 39ae272bd230429ccbc14a82f3c5fa4a1360980c (diff) | |
download | libnice-accf7823b87db3a8d7c4ee32fe4bf107c9e9a4ed.tar.gz |
agent: Remove duplicated early return
The type is already checked to not be peer reflexive earlier.
-rw-r--r-- | agent/agent.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/agent/agent.c b/agent/agent.c index 75e2275..f65696b 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -3876,10 +3876,6 @@ static gboolean priv_add_remote_candidate ( else { /* 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->stream_id = stream_id; |