diff --git a/src/core/download_factory.cc b/src/core/download_factory.cc index 5b9a4c20..fef67f0e 100644 --- a/src/core/download_factory.cc +++ b/src/core/download_factory.cc @@ -314,9 +314,6 @@ DownloadFactory::receive_success() { void DownloadFactory::receive_failed(const std::string& msg) { - if (m_stream == NULL) - throw torrent::internal_error("DownloadFactory::receive_success() called on an object with m_stream == NULL"); - // Add message to log. if (m_printLog) { m_manager->get_log_important().push_front(msg + ": \"" + m_uri + "\"");