summaryrefslogtreecommitdiff
path: root/src/net/download.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/download.cpp')
-rw-r--r--src/net/download.cpp2
1 files changed, 1 insertions, 1 deletions
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=");