diff options
Diffstat (limited to 'src/net/download.cpp')
-rw-r--r-- | src/net/download.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp index f469a3258..1d49caea2 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -73,7 +73,7 @@ Download::Download(void *const ptr, const std::string &url, mOptions.cancel = 0; mOptions.memoryWrite = 0; mOptions.checkAdler = true; - const std::string serverName = Client::getServerName(); + const std::string serverName = client->getServerName(); if (!serverName.empty()) { if (mUrl.find("?") == std::string::npos) |