conncheck: remove a redundant test
authorFabrice Bellet <fabrice@bellet.info>
Sun, 17 May 2020 21:06:37 +0000 (23:06 +0200)
committerFabrice Bellet <fabrice@bellet.info>
Mon, 18 May 2020 13:21:39 +0000 (15:21 +0200)
This test is redundant with the previous one.

agent/conncheck.c

index baa4073..ee12527 100644 (file)
@@ -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;