mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-21 16:46:18 +00:00
Report open errors from the quick hash check
With no other hash check running, nothing retries it later.
This commit is contained in:
+2
-1
@@ -436,8 +436,9 @@ Manager::receive_hashing_changed() {
|
|||||||
if (tryQuick) {
|
if (tryQuick) {
|
||||||
// Make sure we don't repeat the quick hashing.
|
// Make sure we don't repeat the quick hashing.
|
||||||
rpc::call_command_set_value("d.hashing.set", Download::variable_hashing_rehash, rpc::make_target(*itr));
|
rpc::call_command_set_value("d.hashing.set", Download::variable_hashing_rehash, rpc::make_target(*itr));
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
if (!tryQuick || !foundHashing) {
|
||||||
(*itr)->set_hash_failed(true);
|
(*itr)->set_hash_failed(true);
|
||||||
(*itr)->set_message("Hashing failed: " + std::string(e.what()));
|
(*itr)->set_message("Hashing failed: " + std::string(e.what()));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user