summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/download.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp
index 84d7f47e3..c3b15cd2b 100644
--- a/src/net/download.cpp
+++ b/src/net/download.cpp
@@ -186,7 +186,10 @@ void Download::setWriteFunction(WriteFunction write)
bool Download::start()
{
- logger->log("Starting download: %s", mUrl.c_str());
+ if (mUpload)
+ logger->log("Starting upload: %s", mUrl.c_str());
+ else
+ logger->log("Starting download: %s", mUrl.c_str());
mThread = SDL::createThread(&downloadThread, "download", this);
if (mThread == nullptr)