diff options
Diffstat (limited to 'src/BtFileAllocationEntry.cc')
| -rw-r--r-- | src/BtFileAllocationEntry.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/BtFileAllocationEntry.cc b/src/BtFileAllocationEntry.cc index 7d0b67cd..1c9c1112 100644 --- a/src/BtFileAllocationEntry.cc +++ b/src/BtFileAllocationEntry.cc @@ -33,11 +33,14 @@ */ /* copyright --> */ #include "BtFileAllocationEntry.h" + +#include <algorithm> + #include "BtSetup.h" #include "RequestGroup.h" #include "Command.h" #include "DownloadEngine.h" -#include <algorithm> +#include "DownloadContext.h" namespace aria2 { @@ -51,6 +54,7 @@ void BtFileAllocationEntry::prepareForNextAction(std::deque<Command*>& commands, { BtSetup().setup(commands, _requestGroup, e, e->option); if(!_requestGroup->downloadFinished()) { + _requestGroup->getDownloadContext()->resetDownloadStartTime(); _requestGroup->createNextCommandWithAdj(commands, e, 0); } } |
