Used correct event target

This commit is contained in:
Jerry (Xinyu Hou) 2016-08-26 14:36:57 +01:00 committed by Andrew Nelless
parent 6d86a6033f
commit e1be5a66b7

View File

@ -152,7 +152,7 @@ ClientListener::handleClientConnecting(const Event&, void*)
// has to call secure accept which may require retry
if (!m_args.m_enableCrypto) {
m_events->addEvent(Event(m_events->forClientListener().accepted(),
stream));
stream->getEventTarget()));
}
}