mirror of
https://github.com/monero-project/monero.git
synced 2025-05-12 15:32:14 -04:00
dns_utils: add a const where possible
This commit is contained in:
parent
f43d465da2
commit
ae5f28cb51
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue