fixed file check ordering to respect the queue position. Fixes #350

This commit is contained in:
Arvid Norberg
2008-06-12 21:22:24 +00:00
parent 295e2a548b
commit 5923ef5b43
2 changed files with 13 additions and 5 deletions

View File

@@ -378,7 +378,8 @@ namespace libtorrent
tracker_manager m_tracker_manager;
torrent_map m_torrents;
std::list<boost::shared_ptr<torrent> > m_queued_for_checking;
typedef std::list<boost::shared_ptr<torrent> > check_queue_t;
check_queue_t m_queued_for_checking;
// this maps sockets to their peer_connection
// object. It is the complete list of all connected