From dcc50efbd0064c191ca51decd1a47fe557873606 Mon Sep 17 00:00:00 2001
From: Thulinma <jaron@vietors.com>
Date: Thu, 3 Oct 2019 10:20:58 +0200
Subject: [PATCH] =?UTF-8?q?Fixed=20compiling=20of=20-DDEBUG=3D3=20-DNOSSL?=
 =?UTF-8?q?=3D1=20option=20combination=20=F0=9F=98=92?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/socket.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/socket.cpp b/lib/socket.cpp
index 733c969f..1d5e2e68 100644
--- a/lib/socket.cpp
+++ b/lib/socket.cpp
@@ -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;