From 16dbb7cd6a0123483d6643324529a5436b5b68cd Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Thu, 1 Sep 2016 14:17:34 +0100 Subject: [PATCH] Fixed using the wrong variable name --- src/lib/server/ClientListener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }