added storage assert, fixed policy assert

This commit is contained in:
Arvid Norberg
2007-09-19 19:55:11 +00:00
parent af95c01f24
commit 338eedf961
3 changed files with 12 additions and 9 deletions

View File

@@ -1422,7 +1422,7 @@ namespace libtorrent
++total_connections;
if (!p.connection)
{
assert(m_torrent->connection_for(p.ip) == 0);
// assert(m_torrent->connection_for(p.ip) == 0);
continue;
}
if (!m_torrent->settings().allow_multiple_connections_per_ip)