From 2d728715982f602ba7851ac3a2e40eddfa765a76 Mon Sep 17 00:00:00 2001 From: 3lswear Date: Sat, 5 Feb 2022 17:13:26 +0300 Subject: [PATCH] debug: debug output for constructors --- src/Client/Client.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Client/Client.cpp b/src/Client/Client.cpp index 34cbd61..c81ecd9 100644 --- a/src/Client/Client.cpp +++ b/src/Client/Client.cpp @@ -4,6 +4,7 @@ Client::Client() { + DBOUT << "Client constructor " << this << ENDL; allRead = false; done = false; this->_fd = -1; @@ -12,6 +13,7 @@ Client::Client() Client::Client(char *str) { + DBOUT << "Client constructor " << this << ENDL; allRead = false; done = false; this->_fd = -1; @@ -22,6 +24,7 @@ Client::Client(char *str) Client::Client(char *str, ServerConfig *config) { + DBOUT << "Client constructor " << this << ENDL; allRead = false; done = false; this->_fd = -1; @@ -239,5 +242,5 @@ void Client::clear(void) Client::~Client() { - DBOUT << "client destructor called" << ENDL; + DBOUT << "client destructor called " << this << ENDL; }