From b57354e261b5352158f2f049ea4abd5f1fb90e95 Mon Sep 17 00:00:00 2001 From: Fabrice Bellet Date: Sun, 17 May 2020 23:06:37 +0200 Subject: conncheck: remove a redundant test This test is redundant with the previous one. --- agent/conncheck.c | 3 --- 1 file changed, 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; -- cgit v1.2.1