diff options
Diffstat (limited to 'libtorrent/src/session_impl.cpp')
-rwxr-xr-x | libtorrent/src/session_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtorrent/src/session_impl.cpp b/libtorrent/src/session_impl.cpp index 86515aee4..4bb8caf00 100755 --- a/libtorrent/src/session_impl.cpp +++ b/libtorrent/src/session_impl.cpp @@ -1715,7 +1715,7 @@ namespace aux { { TORRENT_ASSERT(!params.save_path.empty()); - if (params.ti && params.ti->files().num_files() == 0) + if (params.ti && params.ti->num_files() == 0) { #ifndef BOOST_NO_EXCEPTIONS throw std::runtime_error("no files in torrent"); |