From 7ec3d7b43ccd4704c5016f1b68d26aa9a30aca33 Mon Sep 17 00:00:00 2001 From: PolynomialDivision Date: Sun, 1 Oct 2017 12:10:40 +0200 Subject: [PATCH] Get clients --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index ed4a138..b9b11f4 100644 --- a/src/main.c +++ b/src/main.c @@ -48,7 +48,7 @@ void daemon_shutdown() printf("Cancelling Threads!\n"); pthread_cancel(tid_probe); //pthread_cancel(tid_client); - // pthread_cancel(tid_get_client); + pthread_cancel(tid_get_client); //pthread_cancel(tid_kick_clients); //pthread_cancel(tid_ap); @@ -211,7 +211,7 @@ int main(int argc, char **argv) { pthread_create(&tid_probe, NULL, &remove_array_thread, NULL); //pthread_create(&tid_client, NULL, &remove_client_array_thread, NULL); - //pthread_create(&tid_get_client, NULL, &update_clients_thread, NULL); + pthread_create(&tid_get_client, NULL, &update_clients_thread, NULL); //pthread_create(&tid_kick_clients, NULL, &kick_clients_thread, NULL); //pthread_create(&tid_ap, NULL, &remove_ap_array_thread, NULL);