mirror of
https://github.com/monero-project/monero.git
synced 2025-12-21 14:51:01 -08:00
dns_utils: add a const where possible
This commit is contained in:
@@ -343,7 +343,7 @@ DNSResolver DNSResolver::create()
|
||||
return DNSResolver();
|
||||
}
|
||||
|
||||
bool DNSResolver::check_address_syntax(const char *addr)
|
||||
bool DNSResolver::check_address_syntax(const char *addr) const
|
||||
{
|
||||
// if string doesn't contain a dot, we won't consider it a url for now.
|
||||
if (strchr(addr,'.') == NULL)
|
||||
|
||||
Reference in New Issue
Block a user