* Reworked how hashing is queued, state must 1 and removed the

set_hash_failed hacks when closing, etc.

* Changed the attributes of blocks in transfer view.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@727 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-06-21 22:14:10 +00:00
parent d2fc993514
commit 70eacfe738
10 changed files with 75 additions and 95 deletions
+2 -2
View File
@@ -385,8 +385,8 @@ Manager::receive_hashing_changed() {
try {
if ((*itr)->is_hash_checked())
throw torrent::client_error("core::Manager::receive_hashing_changed() hash already checked.");
if ((*itr)->is_hash_checked() || (*itr)->is_hash_checking())
throw torrent::client_error("core::Manager::receive_hashing_changed() hash already checked or checking.");
if ((*itr)->is_hash_failed())
continue;