Made a own copy of ClientArgs in Client

This commit is contained in:
XinyuHou
2016-09-01 14:07:19 +01:00
committed by Andrew Nelless
parent a12ae98e9f
commit a471bdcea7
3 changed files with 3 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ ClientListener::handleClientConnecting(const Event&, void*)
// When using non SSL, server accepts clients immediately, while SSL
// has to call secure accept which may require retry
if (!m_args.m_enableCrypto) {
if (!m_useSecureNetwork) {
m_events->addEvent(Event(m_events->forClientListener().accepted(),
stream->getEventTarget()));
}