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