From 5ce135594b9816940280619c63be2c0b8d6a3435 Mon Sep 17 00:00:00 2001 From: adjoly Date: Fri, 25 Apr 2025 15:34:10 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=8F=97=EF=B8=8F=E3=80=8D=20wip:?= =?UTF-8?q?=20added=20default=20=5Ftoclose=20in=20client=20not=20used=20fo?= =?UTF-8?q?r=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/server/Client.hpp | 6 +++--- src/server/Client.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/server/Client.hpp b/includes/server/Client.hpp index 50e25fb..0ef6f74 100644 --- a/includes/server/Client.hpp +++ b/includes/server/Client.hpp @@ -6,7 +6,7 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/04/14 14:14:39 by adjoly #+# #+# */ -/* Updated: 2025/04/25 15:15:48 by adjoly ### ########.fr */ +/* Updated: 2025/04/25 15:28:10 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -38,13 +38,13 @@ class Client { } bool isToClose() { - return toClose; + return _toClose; } private: void _getRequest(std::string); - bool toClose; + bool _toClose; struct pollfd *_pfd; struct sockaddr_in _client_addr; http::IRequest *_request; diff --git a/src/server/Client.cpp b/src/server/Client.cpp index ac9ff45..386ab2e 100644 --- a/src/server/Client.cpp +++ b/src/server/Client.cpp @@ -6,7 +6,7 @@ /* By: mmoussou