From a12ae98e9f9c05e16bfb8d01db7ba58aa1f493da Mon Sep 17 00:00:00 2001 From: XinyuHou Date: Thu, 1 Sep 2016 13:58:42 +0100 Subject: [PATCH] Used parent pointer for socket accept --- 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 9632faea..a0ae3028 100644 --- a/src/lib/server/ClientListener.cpp +++ b/src/lib/server/ClientListener.cpp @@ -137,7 +137,7 @@ void ClientListener::handleClientConnecting(const Event&, void*) { // accept client connection - IDataSocket* socket = m_listen->accept(); + synergy::IStream* stream = m_listen->accept(); if (socket == NULL) { return;