From aeed3cc5ee1ba1cba4d24e883b75074bdf40ba69 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 5 Apr 2023 10:18:57 +0200 Subject: [PATCH] added client timeout 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 3b820b4..6ab1dd9 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -383,7 +383,7 @@ void *why2_communicate_thread(void *arg) close(connection); remove_node(get_node(connection)); - return NULL; + return NULL; //TODO: Fix client segfault on timeout } char *why2_read_socket(int socket)