diff options
Diffstat (limited to 'src/RequestGroup.cc')
| -rw-r--r-- | src/RequestGroup.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/RequestGroup.cc b/src/RequestGroup.cc index cf436650..85b75a45 100644 --- a/src/RequestGroup.cc +++ b/src/RequestGroup.cc @@ -1148,7 +1148,9 @@ std::shared_ptr<DownloadResult> RequestGroup::createDownloadResult() const void RequestGroup::reportDownloadFinished() { A2_LOG_NOTICE(fmt(MSG_FILE_DOWNLOAD_COMPLETED, - downloadContext_->getBasePath().c_str())); + inMemoryDownload() + ? getFirstFilePath().c_str() + : downloadContext_->getBasePath().c_str())); uriSelector_->resetCounters(); #ifdef ENABLE_BITTORRENT if (downloadContext_->hasAttribute(CTX_ATTR_BT)) { |
