diff options
Diffstat (limited to 'src/TorrentDownloadEngine.cc')
| -rw-r--r-- | src/TorrentDownloadEngine.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TorrentDownloadEngine.cc b/src/TorrentDownloadEngine.cc index 30a0587c..75491129 100644 --- a/src/TorrentDownloadEngine.cc +++ b/src/TorrentDownloadEngine.cc @@ -59,7 +59,7 @@ void TorrentDownloadEngine::setBtContext(const BtContextHandle& btContext) { void TorrentDownloadEngine::onEndOfRun() { pieceStorage->getDiskAdaptor()->closeFile(); - if(pieceStorage->downloadFinished()) { + if(pieceStorage->allDownloadFinished()) { btProgressInfoFile->removeFile(); } else { btProgressInfoFile->save(); |
