summaryrefslogtreecommitdiff
path: root/toxcore/network.c
diff options
context:
space:
mode:
authorMaxim Biro <nurupo.contributions@gmail.com>2017-04-16 05:57:21 -0400
committerMaxim Biro <nurupo.contributions@gmail.com>2017-04-22 15:31:25 -0400
commitc7f63737ebfff2d1948ec9d6d92295a75d75cae5 (patch)
treeffaa46d8aecb53041ed61f6be73a4743fae6d4b1 /toxcore/network.c
parent5ed37e543825c023163adba95b99ea81d3337196 (diff)
Revert "Implement tox_loop"
This reverts commit 5ff099763b1f56414572e1c12eb2f003117db5a0.
Diffstat (limited to 'toxcore/network.c')
-rw-r--r--toxcore/network.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/toxcore/network.c b/toxcore/network.c
index f74363e6..edf6f11a 100644
--- a/toxcore/network.c
+++ b/toxcore/network.c
@@ -794,16 +794,6 @@ void kill_networking(Networking_Core *net)
794 kill_sock(net->sock); 794 kill_sock(net->sock);
795 } 795 }
796 796
797#ifdef HAVE_LIBEV
798 ev_io_stop(net->sock_listener.dispatcher, &net->sock_listener.listener);
799#elif HAVE_LIBEVENT
800
801 if (net->sock_listener) {
802 event_free(net->sock_listener);
803 }
804
805#endif
806
807 free(net); 797 free(net);
808} 798}
809 799