From 0862a76c30ed4bd365e40350eeb923d952f5c142 Mon Sep 17 00:00:00 2001 From: y-syo Date: Thu, 17 Apr 2025 14:26:26 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=97=91=EF=B8=8F=E3=80=8D=20clean?= =?UTF-8?q?(client.cpp):=20cleaned=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Client.cpp | 20 -------------------- src/server/Client.cpp | 27 ++------------------------- 2 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 src/Client.cpp diff --git a/src/Client.cpp b/src/Client.cpp deleted file mode 100644 index eade040..0000000 --- a/src/Client.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* Client.cpp :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: adjoly +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2025/04/15 14:44:55 by adjoly #+# #+# */ -/* Updated: 2025/04/15 18:38:42 by adjoly ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#include -#include -#include - -Client::Client(int fd, sockaddr_in sockData, config::Config *conf) - : _fd(fd), _client_addr(sockData) { - -} diff --git a/src/server/Client.cpp b/src/server/Client.cpp index 29d6e85..e520e79 100644 --- a/src/server/Client.cpp +++ b/src/server/Client.cpp @@ -6,7 +6,7 @@ /* By: mmoussou _fd = fd; - this->_client_addr = socket; - this->_conf = conf; - this->_log = log; - std::string received_data; char buffer[BUFFER_SIZE]; ssize_t bytes_received;