Skip to content

Commit

Permalink
Fix clang tidy error due to incorrect use of quotes for character
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed Mar 6, 2019
1 parent 1c87d57 commit c735497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/clientmedia.cpp
Expand Up @@ -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://") +
Expand Down

0 comments on commit c735497

Please sign in to comment.