Browse Source

reload acceptor with correct stream

pull/750/head
orignal 8 years ago
parent
commit
8f51dc2c22
  1. 2
      SAM.cpp

2
SAM.cpp

@ -668,7 +668,7 @@ namespace client
for (auto it: session->ListSockets ()) for (auto it: session->ListSockets ())
if (it->m_SocketType == eSAMSocketTypeAcceptor) 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; break;
} }
} }

Loading…
Cancel
Save