diff --git a/src/lib/server/ClientListener.cpp b/src/lib/server/ClientListener.cpp index 858fae15..08f58278 100644 --- a/src/lib/server/ClientListener.cpp +++ b/src/lib/server/ClientListener.cpp @@ -139,7 +139,7 @@ ClientListener::handleClientConnecting(const Event&, void*) // accept client connection synergy::IStream* stream = m_listen->accept(); - if (socket == NULL) { + if (stream == NULL) { return; }