Added FAQ entries.

Fixed bug that caused single file torrent to be saved in a seperate
directory when -d is used.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@437 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-05-11 18:40:26 +00:00
parent d96173453d
commit d8398eae5f
3 changed files with 28 additions and 3 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ 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() : ""));
(*itr)->get_download().set_root_dir(m_defaultRoot + ((*itr)->get_download().get_entry_size() > 1 ? (*itr)->get_download().get_name() : ""));
start(*itr);
m_downloadStore.save(*itr);