Fixed compiling of -DDEBUG=3 -DNOSSL=1 option combination 😒
This commit is contained in:
parent
9a3bddef19
commit
dcc50efbd0
1 changed files with 8 additions and 0 deletions
|
@ -1137,7 +1137,11 @@ Socket::Connection::Connection(const Connection &rhs){
|
|||
clear();
|
||||
if (!rhs){return;}
|
||||
#if DEBUG >= DLVL_DEVEL
|
||||
#ifdef SSL
|
||||
HIGH_MSG("Copying %s socket", rhs.sslConnected ? "SSL" : "regular");
|
||||
#else
|
||||
HIGH_MSG("Copying regular socket");
|
||||
#endif
|
||||
#endif
|
||||
conntime = rhs.conntime;
|
||||
isTrueSocket = rhs.isTrueSocket;
|
||||
|
@ -1166,7 +1170,11 @@ Socket::Connection &Socket::Connection::operator=(const Socket::Connection &rhs)
|
|||
clear();
|
||||
if (!rhs){return *this;}
|
||||
#if DEBUG >= DLVL_DEVEL
|
||||
#ifdef SSL
|
||||
HIGH_MSG("Assigning %s socket", rhs.sslConnected ? "SSL" : "regular");
|
||||
#else
|
||||
HIGH_MSG("Assigning regular socket");
|
||||
#endif
|
||||
#endif
|
||||
conntime = rhs.conntime;
|
||||
isTrueSocket = rhs.isTrueSocket;
|
||||
|
|
Loading…
Add table
Reference in a new issue