forked from Mirrorlandia_minetest/minetest
Fix clang tidy error due to incorrect use of quotes for character
This commit is contained in:
parent
1c87d57e1d
commit
c735497a65
@ -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://") +
|
||||
|
Loading…
Reference in New Issue
Block a user