From f3f3f2822b59faaadb5456ee3de443290fac50e8 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 19 Nov 2007 20:43:54 +0000 Subject: [PATCH] - Do not save fastresume data for checking torrents anymore --- src/bittorrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index a7c7bd6c6..fe713ab01 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -845,7 +845,7 @@ void bittorrent::saveFastResumeAndRatioData() { } QString hash = h.hash(); // Extracting resume data - if (h.has_metadata()) { + if (h.has_metadata() && h.state() != torrent_status::checking_files && h.state() != torrent_status::queued_for_checking) { if(QFile::exists(torrentBackup.path()+QDir::separator()+hash+".torrent")) { // Remove old .fastresume data in case it exists QFile::remove(torrentBackup.path()+QDir::separator()+hash + ".fastresume");