From 608dfae22e1b5145210314ca6c7268420dd639c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 10 Dec 2016 16:46:55 +0300 Subject: Fix some issues found by automatic checks. --- 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 3844cc01f..570007cea 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -92,7 +92,7 @@ Download::Download(void *const ptr, const std::string serverName = settings.serverName; if (!serverName.empty()) { - if (mUrl.find("?") == std::string::npos) + if (mUrl.find('?') == std::string::npos) mUrl.append("?host="); else mUrl.append("&host="); -- cgit v1.2.3-70-g09d2