summaryrefslogtreecommitdiff
path: root/src/CheckIntegrityCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/CheckIntegrityCommand.cc')
-rw-r--r--src/CheckIntegrityCommand.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/CheckIntegrityCommand.cc b/src/CheckIntegrityCommand.cc
index 54a6ffa7..d65056d2 100644
--- a/src/CheckIntegrityCommand.cc
+++ b/src/CheckIntegrityCommand.cc
@@ -65,11 +65,15 @@ bool CheckIntegrityCommand::executeInternal()
if(_requestGroup->downloadFinished()) {
logger->notice(MSG_VERIFICATION_SUCCESSFUL,
_requestGroup->getFilePath().c_str());
- _e->addCommand(_entry->onDownloadFinished(_e));
+ std::deque<Command*> commands;
+ _entry->onDownloadFinished(commands, _e);
+ _e->addCommand(commands);
} else {
logger->error(MSG_VERIFICATION_FAILED,
_requestGroup->getFilePath().c_str());
- _e->addCommand(_entry->onDownloadIncomplete(_e));
+ std::deque<Command*> commands;
+ _entry->onDownloadIncomplete(commands,_e);
+ _e->addCommand(commands);
}
_e->setNoWait(true);
return true;