Commit fa23dd5a authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Youness Alaoui

Remove some dead code

parent 448bbf40
...@@ -502,13 +502,7 @@ static gboolean priv_conn_keepalive_retransmissions_tick (gpointer pointer) ...@@ -502,13 +502,7 @@ static gboolean priv_conn_keepalive_retransmissions_tick (gpointer pointer)
"but media was received. Suspecting keepalive lost because of " "but media was received. Suspecting keepalive lost because of "
"network bottleneck", pair->keepalive.agent); "network bottleneck", pair->keepalive.agent);
if (pair->keepalive.tick_source) {
g_source_destroy (pair->keepalive.tick_source);
g_source_unref (pair->keepalive.tick_source);
pair->keepalive.tick_source = NULL;
}
pair->keepalive.stun_message.buffer = NULL; pair->keepalive.stun_message.buffer = NULL;
} else { } else {
nice_debug ("Agent %p : Keepalive conncheck timed out!! " nice_debug ("Agent %p : Keepalive conncheck timed out!! "
"peer probably lost connection", pair->keepalive.agent); "peer probably lost connection", pair->keepalive.agent);
......
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