summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-01-28 19:46:16 (GMT)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-01-28 19:46:16 (GMT)
commit5cc9cddfb6a095c400d23ef4a44e918adc9dd390 (patch)
tree1bdec845ef535943483bbe8fb7fa71476a5b6eed
parent9953608d47758705df6bd021cabfc223f34f6d54 (diff)
downloadlibnice-5cc9cddfb6a095c400d23ef4a44e918adc9dd390.tar.gz
libnice-5cc9cddfb6a095c400d23ef4a44e918adc9dd390.tar.xz
Remove some dead code
-rw-r--r--agent/conncheck.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/agent/conncheck.c b/agent/conncheck.c
index 796b5d4..db03c51 100644
--- a/agent/conncheck.c
+++ b/agent/conncheck.c
@@ -502,13 +502,7 @@ static gboolean priv_conn_keepalive_retransmissions_tick (gpointer pointer)
"but media was received. Suspecting keepalive lost because of "
"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;
-
} else {
nice_debug ("Agent %p : Keepalive conncheck timed out!! "
"peer probably lost connection", pair->keepalive.agent);