reload acceptor with correct stream

This commit is contained in:
orignal 2016-12-24 09:55:59 -05:00
parent b363b50320
commit 8f51dc2c22

View File

@ -668,7 +668,7 @@ namespace client
for (auto it: session->ListSockets ())
if (it->m_SocketType == eSAMSocketTypeAcceptor)
{
session->localDestination->AcceptOnce (std::bind (&SAMSocket::HandleI2PAccept, shared_from_this (), std::placeholders::_1));
session->localDestination->AcceptOnce (std::bind (&SAMSocket::HandleI2PAccept, it, std::placeholders::_1));
break;
}
}