mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-17 07:32:32 +00:00
* Fixed session file loading.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1135 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -189,9 +189,6 @@ DownloadFactory::receive_commit() {
|
|||||||
|
|
||||||
void
|
void
|
||||||
DownloadFactory::receive_success() {
|
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 ?
|
Download* download = m_stream != NULL ?
|
||||||
m_manager->download_list()->create(m_stream, m_printLog) :
|
m_manager->download_list()->create(m_stream, m_printLog) :
|
||||||
m_manager->download_list()->create(m_object, m_printLog);
|
m_manager->download_list()->create(m_object, m_printLog);
|
||||||
|
|||||||
Reference in New Issue
Block a user