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);