Small fixes. Remove superflous log messages.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#include <fstream>
|
||||
#include <algorithm>
|
||||
|
||||
#define DOWNLOAD_DELAY_MSEC 10
|
||||
#define DOWNLOAD_DELAY_MSEC 20
|
||||
|
||||
using namespace std;
|
||||
using namespace boost::filesystem;
|
||||
@@ -128,8 +128,6 @@ DownloaderThread::Main()
|
||||
if (m_curDownloadData && !m_curDownloadData->filename.empty())
|
||||
{
|
||||
path filepath(m_curDownloadData->filename);
|
||||
LOG_MSG("URL: " + m_curDownloadData->address);
|
||||
LOG_MSG("File: " + filepath.file_string());
|
||||
m_downloadHelper->Init(m_curDownloadData->address, filepath.file_string());
|
||||
m_downloadInProgress = true;
|
||||
}
|
||||
@@ -137,7 +135,7 @@ DownloaderThread::Main()
|
||||
}
|
||||
catch (const NetException &e)
|
||||
{
|
||||
LOG_ERROR(e.what());
|
||||
LOG_ERROR("Download failed: " << e.what());
|
||||
m_downloadInProgress = false;
|
||||
m_curDownloadData.reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user