From b0df37df60ace07208b5a6009728a2e0d409031c Mon Sep 17 00:00:00 2001 From: LuckyLaszlo Date: Sat, 6 Aug 2022 04:50:19 +0200 Subject: [PATCH] fix Client uninitialised values --- srcs/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcs/Client.cpp b/srcs/Client.cpp index 471da4e..f994d57 100644 --- a/srcs/Client.cpp +++ b/srcs/Client.cpp @@ -7,7 +7,7 @@ char Client::buf[MAX_FILESIZE+1]; * COPLIENS *********************************************/ -Client::Client( ) { +Client::Client() : fd(0), body_size(0), status(0) { return; }