diff options
Diffstat (limited to 'src/StreamCheckIntegrityEntry.cc')
| -rw-r--r-- | src/StreamCheckIntegrityEntry.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/StreamCheckIntegrityEntry.cc b/src/StreamCheckIntegrityEntry.cc index 3de23736..aeaf5e8c 100644 --- a/src/StreamCheckIntegrityEntry.cc +++ b/src/StreamCheckIntegrityEntry.cc @@ -38,6 +38,7 @@ #include "StreamFileAllocationEntry.h" #include "prefs.h" #include "Option.h" +#include "PieceStorage.h" namespace aria2 { @@ -51,6 +52,8 @@ StreamCheckIntegrityEntry::~StreamCheckIntegrityEntry() {} void StreamCheckIntegrityEntry::onDownloadIncomplete (std::vector<Command*>& commands, DownloadEngine* e) { + const SharedHandle<PieceStorage>& ps = getRequestGroup()->getPieceStorage(); + ps->onDownloadIncomplete(); if(getRequestGroup()->getOption()->getAsBool(PREF_HASH_CHECK_ONLY)) { return; } |
