*** empty log message ***

This commit is contained in:
Arvid Norberg
2003-10-27 16:06:00 +00:00
parent fb4fa20744
commit c0f8ea13e4
3 changed files with 16 additions and 4 deletions

View File

@@ -115,8 +115,12 @@ namespace libtorrent
void policy::peer_from_tracker(const address& remote, const peer_id& id)
{
m_torrent->connect_to_peer(remote, id);
m_num_peers++;
try
{
m_torrent->connect_to_peer(remote, id);
m_num_peers++;
}
catch(network_error&) {}
}
// this is called when we are choked by a peer