Small fixes. Remove superflous log messages.

This commit is contained in:
lotodore
2009-03-22 18:57:23 +00:00
parent f2ec0b1ef4
commit 9243a6aa86
4 changed files with 7 additions and 9 deletions
+2 -1
View File
@@ -61,6 +61,7 @@ UploaderThread::Main()
if (!m_uploadInProgress)
{
Msleep(UPLOAD_DELAY_MSEC);
// The upload needs only local state, as no value needs to be returned.
UploadData data;
{
boost::mutex::scoped_lock lock(m_uploadQueueMutex);
@@ -80,7 +81,7 @@ UploaderThread::Main()
}
catch (const NetException &e)
{
LOG_ERROR(e.what());
LOG_ERROR("Upload failed: " << e.what());
m_uploadInProgress = false;
}
}