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 ;