2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Added missing prefix dir.
	* src/download_helper.cc
pull/1/head
Tatsuhiro Tsujikawa 2009-03-10 13:15:14 +00:00
parent 176c9d2002
commit 90ca1be5fe
2 changed files with 7 additions and 1 deletions

View File

@ -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>
Removed --direct-file-mapping option and CopyDiskAdaptor.

View File

@ -132,7 +132,8 @@ createBtRequestGroup(const std::string& torrentFilePath,
Util::createIndexPathMap(indexOutIn);
for(std::map<size_t, std::string>::const_iterator i = indexPathMap.begin();
i != indexPathMap.end(); ++i) {
btContext->setFilePathWithIndex((*i).first, (*i).second);
btContext->setFilePathWithIndex((*i).first,
btContext->getDir()+"/"+(*i).second);
}
rg->setDownloadContext(btContext);
btContext->setOwnerRequestGroup(rg.get());