diff --git a/chatserver.c b/chatserver.c index e93cba6..a91133f 100644 --- a/chatserver.c +++ b/chatserver.c @@ -53,6 +53,7 @@ typedef struct { } \ } \ pthread_mutex_unlock(&clients.lock); \ + fflush(stdout); \ } while (0) void* handle_client(void* _arg) {