rpc_manager fix

This commit is contained in:
Arvid Norberg 2009-11-13 02:53:34 +00:00
parent e3fa84c479
commit 51aa6c4b6b
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ void rpc_manager::unreachable(udp::endpoint const& ep)
{
TORRENT_ASSERT(*i);
observer_ptr const& o = *i;
if (o->target_ep() != ep) continue;
if (o->target_ep() != ep) { ++i; continue; }
observer_ptr ptr = *i;
m_transactions.erase(i++);
#ifdef TORRENT_DHT_VERBOSE_LOGGING