From 41ee090ff368430244aa0b023fe18a2e55090e74 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@clevo" Date: Thu, 27 Oct 2022 10:01:26 +0200 Subject: [PATCH] Add TODO note --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index d76e064..e7b1d02 100644 --- a/src/server.c +++ b/src/server.c @@ -220,7 +220,7 @@ int disconnect_client(int client_id) { /* Thread, Dispatcher : pop message from the stack, parse it and send it to the good ClientSender */ void *Dispatcher(void *arg) { char buf[BUF_LEN]; - char message[1024]; + char message[1024]; // TODO: replace by malloc int n = 0 ; int k = 0 ;