* 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
+3 -1
View File
@@ -278,7 +278,9 @@ DownloadList::receive_exit_input(Input type) {
case INPUT_LOAD_DEFAULT:
case INPUT_LOAD_MODIFIED:
control->core()->try_create_download_expand(input->str(), type == INPUT_LOAD_DEFAULT);
if (!input->str().empty())
control->core()->try_create_download_expand(input->str(), type == INPUT_LOAD_DEFAULT);
break;
case INPUT_CHANGE_DIRECTORY: