mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 15:12:30 +00:00
* Cleaned up hash checking, and allow resuming stopped checks.
* Fixed setting of TOS so it doesn't always set it to throughput. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@827 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+3
-1
@@ -503,7 +503,9 @@ Manager::receive_hashing_changed() {
|
||||
if ((*itr)->is_hash_checked())
|
||||
throw torrent::internal_error("core::Manager::receive_hashing_changed() hash already checked or checking.");
|
||||
|
||||
if ((*itr)->is_hash_failed() || (*itr)->variable()->get_value("hashing") != Download::variable_hashing_initial)
|
||||
if ((*itr)->is_hash_failed() ||
|
||||
(*itr)->variable()->get_value("hashing") != Download::variable_hashing_initial ||
|
||||
(*itr)->download()->chunks_hashed() != 0)
|
||||
continue;
|
||||
|
||||
m_downloadList->open_throw(*itr);
|
||||
|
||||
Reference in New Issue
Block a user