* Fixed session file loading.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1135 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2010-02-19 15:05:33 +00:00
parent 49cbbad5d7
commit 6fe6dcd8d8
-3
View File
@@ -189,9 +189,6 @@ DownloadFactory::receive_commit() {
void
DownloadFactory::receive_success() {
if (m_stream == NULL)
throw torrent::internal_error("DownloadFactory::receive_success() called on an object with m_stream == NULL.");
Download* download = m_stream != NULL ?
m_manager->download_list()->create(m_stream, m_printLog) :
m_manager->download_list()->create(m_object, m_printLog);