mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-21 16:49:10 +01:00
parent
59672d23cc
commit
157411dcc6
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ namespace client
|
||||||
auto itr = m_ReadyCallbacks.begin();
|
auto itr = m_ReadyCallbacks.begin();
|
||||||
while(itr != m_ReadyCallbacks.end())
|
while(itr != m_ReadyCallbacks.end())
|
||||||
{
|
{
|
||||||
if(itr->second <= now)
|
if(itr->second >= now)
|
||||||
{
|
{
|
||||||
itr->first(boost::asio::error::timed_out);
|
itr->first(boost::asio::error::timed_out);
|
||||||
itr = m_ReadyCallbacks.erase(itr);
|
itr = m_ReadyCallbacks.erase(itr);
|
||||||
|
|
Loading…
Add table
Reference in a new issue