* Expand the path when unlinking the tied file.

* Use DownloadWrapper* to identify hashing chunks, rather than the
info hash.

* When hashing fails, retry the most common blocks.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@729 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-06-24 23:48:26 +00:00
parent 8be667e935
commit d35bef6791
4 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ apply_stop_on_ratio(Control* m, const std::string& arg) {
if ((totalUpload >= min_Upload && totalUpload * 100 >= totalDone * min_Ratio) ||
(max_Ratio > 0 && totalUpload * 100 > totalDone * max_Ratio)) {
if ((*itr)->variable()->get_value("ignore_ratio") <= 0)
if ((*itr)->variable()->get_value("ignore_ratio") == 0)
m->core()->download_list()->stop(*itr);
}