From 2b790a21fe6dc27a7600f124d33d6e078f692a86 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 22 Feb 2023 10:10:49 +0100 Subject: [PATCH] declared why2_clean_threads --- include/chat/misc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/chat/misc.h b/include/chat/misc.h index 27627a3..eb5ceae 100644 --- a/include/chat/misc.h +++ b/include/chat/misc.h @@ -23,6 +23,7 @@ void why2_send_socket(char *text, int socket); //send socket.... wtf did you exp char *why2_read_socket(int socket); //read lol void *why2_communicate_thread(void *arg); //COMMUNICATION THREAD void *why2_accept_thread(void *socket); //LOOP ACCEPTING CONNECTIONS +void why2_clean_threads(void); //CLOSE EVERY RUNNING THREAD typedef struct why2_connection {