* torrent::FileList::is_multi_file() now indicates whether the torrent

loaded was a multi-file torrent, not whether it contains more than one
file.

* Ignore attempts to load an empty URI in the client.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@925 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-06-24 22:32:44 +00:00
parent e6e7e8a384
commit 9b95b51410
5 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ apply_download_list(const torrent::Object& rawArgs) {
core::ViewManager* viewManager = control->view_manager();
core::ViewManager::iterator viewItr;
if (argsItr != args.end() && !(argsItr++)->as_string().empty())
if (argsItr != args.end() && !argsItr->as_string().empty())
viewItr = viewManager->find((argsItr++)->as_string());
else
viewItr = viewManager->find("main");