*** empty log message ***

This commit is contained in:
Arvid Norberg 2005-03-08 14:16:14 +00:00
parent 45bf47bbab
commit c69a184216
1 changed files with 3 additions and 0 deletions

View File

@ -571,6 +571,9 @@ namespace libtorrent
req.num_want = std::max(
(m_connections_quota.given
- m_policy->num_peers()), 10);
// if we are aborting. we don't want any new peers
if (req.event == tracker_request::stopped)
req.num_want = 0;
// default initialize, these should be set by caller
// before passing the request to the tracker_manager