diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-08-27 21:08:40 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-08-27 21:08:55 +0100 |
commit | ae5f28cb51f51186998cf3c6b2dc1d56abe0174e (patch) | |
tree | 9052ea4fc3eb23979cf4116507cf0aed73513f6e /src/common/dns_utils.cpp | |
parent | dns_utils: lock access to the singleton (diff) | |
download | monero-ae5f28cb51f51186998cf3c6b2dc1d56abe0174e.tar.xz |
dns_utils: add a const where possible
Diffstat (limited to 'src/common/dns_utils.cpp')
-rw-r--r-- | src/common/dns_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp index ce57151f5..d8b3c5308 100644 --- a/src/common/dns_utils.cpp +++ b/src/common/dns_utils.cpp @@ -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) |