From 2f6bf93bf78eac6c45a08a0ae8d8682c6017d637 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 1 Apr 2023 13:46:02 +0200 Subject: [PATCH] added infinity loop todo --- src/chat/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/misc.c b/src/chat/misc.c index 4cfbbbb..b3db261 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -315,7 +315,7 @@ void *why2_communicate_thread(void *arg) pthread_t thread_buffer; why2_bool exiting = 0; - while ((time(NULL) - start_time) < WHY2_COMMUNICATION_TIME && !exiting) //KEEP COMMUNICATION ALIVE FOR 5 MINUTES [RESET TIMER AT MESSAGE SENT] + while ((time(NULL) - start_time) < WHY2_COMMUNICATION_TIME && !exiting) //KEEP COMMUNICATION ALIVE FOR 5 MINUTES [RESET TIMER AT MESSAGE SENT] //TODO: Fix stuck { //READ raw = read_socket_raw(connection);