Used parent pointer for socket accept
This commit is contained in:
parent
e1be5a66b7
commit
a12ae98e9f
|
@ -137,7 +137,7 @@ void
|
||||||
ClientListener::handleClientConnecting(const Event&, void*)
|
ClientListener::handleClientConnecting(const Event&, void*)
|
||||||
{
|
{
|
||||||
// accept client connection
|
// accept client connection
|
||||||
IDataSocket* socket = m_listen->accept();
|
synergy::IStream* stream = m_listen->accept();
|
||||||
|
|
||||||
if (socket == NULL) {
|
if (socket == NULL) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue