summaryrefslogtreecommitdiff
path: root/src/CreateRequestCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/CreateRequestCommand.cc')
-rw-r--r--src/CreateRequestCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CreateRequestCommand.cc b/src/CreateRequestCommand.cc
index c528ff19..cc62fef4 100644
--- a/src/CreateRequestCommand.cc
+++ b/src/CreateRequestCommand.cc
@@ -73,7 +73,7 @@ bool CreateRequestCommand::executeInternal()
setFileEntry(getDownloadContext()->findFileEntryByOffset
(getSegments().front()->getPositionToWrite()));
}
- std::vector<std::string> usedHosts;
+ std::vector<std::pair<size_t, std::string> > usedHosts;
getDownloadEngine()->getRequestGroupMan()->getUsedHosts(usedHosts);
setRequest
(getFileEntry()->getRequest(getRequestGroup()->getURISelector(),