mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
reload acceptor with correct stream
This commit is contained in:
parent
b363b50320
commit
8f51dc2c22
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue