From d3994b21fda3e7d8ba417a382fc8f065a7bf1c52 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Aug 2013 22:48:57 +0300 Subject: improve some mode methods in Client. --- src/net/download.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/download.cpp') 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) -- cgit v1.2.3-60-g2f50