Used parent pointer for socket accept

This commit is contained in:
XinyuHou 2016-09-01 13:58:42 +01:00 committed by Andrew Nelless
parent e1be5a66b7
commit a12ae98e9f
1 changed files with 1 additions and 1 deletions

View File

@ -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;