diff options
author | Fabrice Bellet <fabrice@bellet.info> | 2020-05-17 23:06:37 +0200 |
---|---|---|
committer | Fabrice Bellet <fabrice@bellet.info> | 2020-05-18 15:21:39 +0200 |
commit | b57354e261b5352158f2f049ea4abd5f1fb90e95 (patch) | |
tree | 762bba60d5e82469042b93e4ad32e4e3f732639e | |
parent | 263c090332f569c0132c251729465912ef141ec5 (diff) | |
download | libnice-b57354e261b5352158f2f049ea4abd5f1fb90e95.tar.gz |
conncheck: remove a redundant test
This test is redundant with the previous one.
-rw-r--r-- | agent/conncheck.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/agent/conncheck.c b/agent/conncheck.c index baa4073..ee12527 100644 --- a/agent/conncheck.c +++ b/agent/conncheck.c @@ -679,9 +679,6 @@ priv_conn_check_tick_stream (NiceAgent *agent, NiceStream *stream) if (p->stun_transactions == NULL) continue; - if (p->state != NICE_CHECK_IN_PROGRESS) - continue; - if (!agent_find_component (agent, p->stream_id, p->component_id, NULL, &component)) continue; |