aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2019-03-06 14:41:37 +0000
committerrubenwardy <rw@rubenwardy.com>2019-03-06 14:41:37 +0000
commitc735497a65c8133c0df6b7ee7fc87dc4725994e6 (patch)
tree5100e677e54ec1d2755be613882e7443605c76a7
parent1c87d57e1d144262419fd534e3dcd391e2e5bcbd (diff)
downloadminetest-c735497a65c8133c0df6b7ee7fc87dc4725994e6.tar.gz
minetest-c735497a65c8133c0df6b7ee7fc87dc4725994e6.tar.bz2
minetest-c735497a65c8133c0df6b7ee7fc87dc4725994e6.zip
Fix clang tidy error due to incorrect use of quotes for character
-rw-r--r--src/client/clientmedia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/clientmedia.cpp b/src/client/clientmedia.cpp
index e52ebcab3..6da99bbbf 100644
--- a/src/client/clientmedia.cpp
+++ b/src/client/clientmedia.cpp
@@ -257,7 +257,7 @@ void ClientMediaDownloader::initialStep(Client *client)
// Encapsulate possible IPv6 plain address in []
std::string addr = client->getAddressName();
- if (addr.find(":", 0) != std::string::npos)
+ if (addr.find(':', 0) != std::string::npos)
addr = '[' + addr + ']';
fetch_request.extra_headers.emplace_back(
std::string("Referer: minetest://") +