mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 21:22:31 +00:00
Added "-d" to change the default root dir.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@388 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -170,6 +170,9 @@ Manager::create_final(std::istream* s) {
|
||||
|
||||
(*itr)->get_download().set_ip(m_dns);
|
||||
|
||||
if (!m_defaultRoot.empty())
|
||||
(*itr)->get_download().set_root_dir(m_defaultRoot + ((*itr)->get_download().get_entry_size() ? (*itr)->get_download().get_name() : ""));
|
||||
|
||||
start(*itr);
|
||||
m_downloadStore.save(*itr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user