mirror of https://github.com/aria2/aria2
2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing prefix dir. * src/download_helper.ccpull/1/head
parent
176c9d2002
commit
90ca1be5fe
|
@ -1,3 +1,8 @@
|
||||||
|
2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Added missing prefix dir.
|
||||||
|
* src/download_helper.cc
|
||||||
|
|
||||||
2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Removed --direct-file-mapping option and CopyDiskAdaptor.
|
Removed --direct-file-mapping option and CopyDiskAdaptor.
|
||||||
|
|
|
@ -132,7 +132,8 @@ createBtRequestGroup(const std::string& torrentFilePath,
|
||||||
Util::createIndexPathMap(indexOutIn);
|
Util::createIndexPathMap(indexOutIn);
|
||||||
for(std::map<size_t, std::string>::const_iterator i = indexPathMap.begin();
|
for(std::map<size_t, std::string>::const_iterator i = indexPathMap.begin();
|
||||||
i != indexPathMap.end(); ++i) {
|
i != indexPathMap.end(); ++i) {
|
||||||
btContext->setFilePathWithIndex((*i).first, (*i).second);
|
btContext->setFilePathWithIndex((*i).first,
|
||||||
|
btContext->getDir()+"/"+(*i).second);
|
||||||
}
|
}
|
||||||
rg->setDownloadContext(btContext);
|
rg->setDownloadContext(btContext);
|
||||||
btContext->setOwnerRequestGroup(rg.get());
|
btContext->setOwnerRequestGroup(rg.get());
|
||||||
|
|
Loading…
Reference in New Issue