fixed incorrect assert

This commit is contained in:
Arvid Norberg 2005-10-01 16:18:36 +00:00
parent a09159c239
commit b80c8720e3
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ namespace libtorrent
{ {
torrent::peer_iterator i = m_torrent->m_connections.find( torrent::peer_iterator i = m_torrent->m_connections.find(
get_socket()->sender()); get_socket()->sender());
assert(i != m_torrent->m_connections.end()); assert(i == m_torrent->m_connections.end());
} }
} }
#endif #endif