Commit 3220abce authored by Fabrice Bellet's avatar Fabrice Bellet
Browse files

conncheck: add a couple of switch case fallthroughs

parent 692b1055
......@@ -1421,11 +1421,8 @@ static gboolean priv_conn_keepalive_retransmissions_tick_agent_locked (
nice_debug ("Agent %p : Retransmitting keepalive conncheck",
agent);
agent_timeout_add_with_context (agent,
&pair->keepalive.tick_source,
"Pair keepalive", stun_timer_remainder (&pair->keepalive.timer),
priv_conn_keepalive_retransmissions_tick_agent_locked, pair);
break;
G_GNUC_FALLTHROUGH;
case STUN_USAGE_TIMER_RETURN_SUCCESS:
agent_timeout_add_with_context (agent,
&pair->keepalive.tick_source,
......@@ -1794,10 +1791,7 @@ static gboolean priv_turn_allocate_refresh_retransmissions_tick_agent_locked (
agent_socket_send (cand->nicesock, &cand->server,
stun_message_length (&cand->stun_message), (gchar *)cand->stun_buffer);
agent_timeout_add_with_context (agent, &cand->tick_source,
"Candidate TURN refresh", stun_timer_remainder (&cand->timer),
priv_turn_allocate_refresh_retransmissions_tick_agent_locked, cand);
break;
G_GNUC_FALLTHROUGH;
case STUN_USAGE_TIMER_RETURN_SUCCESS:
agent_timeout_add_with_context (agent, &cand->tick_source,
"Candidate TURN refresh", stun_timer_remainder (&cand->timer),
......
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