summaryrefslogtreecommitdiff
path: root/src/DownloadCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/DownloadCommand.cc')
-rw-r--r--src/DownloadCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DownloadCommand.cc b/src/DownloadCommand.cc
index 243c048c..9a19b0fa 100644
--- a/src/DownloadCommand.cc
+++ b/src/DownloadCommand.cc
@@ -118,7 +118,7 @@ bool DownloadCommand::executeInternal() {
_requestGroup->getSegmentMan()->completeSegment(cuid, segment);
#ifdef ENABLE_MESSAGE_DIGEST
if(e->option->get(PREF_REALTIME_CHUNK_CHECKSUM) == V_TRUE) {
- _requestGroup->getSegmentMan()->tryChunkChecksumValidation(segment);
+ _requestGroup->getSegmentMan()->tryChunkChecksumValidation(segment, _requestGroup->getChunkChecksum());
}
#endif // ENABLE_MESSAGE_DIGEST
// this unit is going to download another segment.