mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix clang tidy error due to incorrect use of quotes for character
This commit is contained in:
parent
1c87d57e1d
commit
c735497a65
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue