From 6fe6dcd8d8e31c0b99a2e1dacd5f6f6bb79e5e1b Mon Sep 17 00:00:00 2001 From: rakshasa Date: Fri, 19 Feb 2010 15:05:33 +0000 Subject: [PATCH] * Fixed session file loading. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1135 e378c898-3ddf-0310-93e7-cc216c733640 --- src/core/download_factory.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/download_factory.cc b/src/core/download_factory.cc index 24402871..5b9a4c20 100644 --- a/src/core/download_factory.cc +++ b/src/core/download_factory.cc @@ -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);