Fixed using the wrong variable name
This commit is contained in:
parent
a471bdcea7
commit
16dbb7cd6a
|
@ -139,7 +139,7 @@ ClientListener::handleClientConnecting(const Event&, void*)
|
||||||
// accept client connection
|
// accept client connection
|
||||||
synergy::IStream* stream = m_listen->accept();
|
synergy::IStream* stream = m_listen->accept();
|
||||||
|
|
||||||
if (socket == NULL) {
|
if (stream == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue