diff --git a/src/lib/plugin/ns/SecureSocket.cpp b/src/lib/plugin/ns/SecureSocket.cpp index d9e47d73..aafc31be 100644 --- a/src/lib/plugin/ns/SecureSocket.cpp +++ b/src/lib/plugin/ns/SecureSocket.cpp @@ -571,7 +571,7 @@ SecureSocket::serviceConnect(ISocketMultiplexerJob* job, #ifdef SYSAPI_WIN32 status = secureConnect(static_cast(getSocket()->m_socket)); #elif SYSAPI_UNIX - retry = secureConnect(getSocket()->m_fd); + status = secureConnect(getSocket()->m_fd); #endif if (status > 0) {