From c735497a65c8133c0df6b7ee7fc87dc4725994e6 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 6 Mar 2019 14:41:37 +0000 Subject: Fix clang tidy error due to incorrect use of quotes for character --- src/client/clientmedia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/clientmedia.cpp') 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://") + -- cgit v1.2.3