aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-08-27 21:08:40 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-08-27 21:08:55 +0100
commitae5f28cb51f51186998cf3c6b2dc1d56abe0174e (patch)
tree9052ea4fc3eb23979cf4116507cf0aed73513f6e /src/common/dns_utils.h
parentdns_utils: lock access to the singleton (diff)
downloadmonero-ae5f28cb51f51186998cf3c6b2dc1d56abe0174e.tar.xz
dns_utils: add a const where possible
Diffstat (limited to '')
-rw-r--r--src/common/dns_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dns_utils.h b/src/common/dns_utils.h
index 50e8001f1..332bceafe 100644
--- a/src/common/dns_utils.h
+++ b/src/common/dns_utils.h
@@ -137,7 +137,7 @@ private:
*
* @return true if it looks enough like a URL, false if not
*/
- bool check_address_syntax(const char *addr);
+ bool check_address_syntax(const char *addr) const;
DNSResolverData *m_data;
}; // class DNSResolver