mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-09 23:59:22 +00:00
* Second part of reworking how multiple downloads of the same chunk is
handled. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@721 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -403,7 +403,7 @@ DownloadList::hash_done(Download* download) {
|
||||
|
||||
// If the download was previously completed but the files were
|
||||
// f.ex deleted, then we clear the state and complete.
|
||||
if (!download->variable()->get_value("complete") && download->is_done()) {
|
||||
if (download->variable()->get_value("complete") && !download->is_done()) {
|
||||
download->variable()->set("state", (int64_t)0);
|
||||
download->set_message("Download registered as completed, but hash check returned unfinished chunks.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user