aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-06-11 10:28:14 +0200
committerRiccardo Spagni <ric@spagni.net>2015-06-11 10:28:22 +0200
commitd6ba5ef8c560b2c443d82113b33cb6019f79ee11 (patch)
treea98cd02eee3bc35bd4d5625faa958dd801ad5862 /src/common/dns_utils.h
parentMerge pull request #311 (diff)
parentdns_utils: simpify smart pointer use, and use for url strings too (diff)
downloadmonero-d6ba5ef8c560b2c443d82113b33cb6019f79ee11.tar.xz
Merge pull request #312
a9b1f7e dns_utils: simpify smart pointer use, and use for url strings too (moneromooo-monero)
Diffstat (limited to 'src/common/dns_utils.h')
-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 d98523a30..1e726c80c 100644
--- a/src/common/dns_utils.h
+++ b/src/common/dns_utils.h
@@ -128,7 +128,7 @@ private:
*
* @return true if it looks enough like a URL, false if not
*/
- bool check_address_syntax(const std::string& addr);
+ bool check_address_syntax(const char *addr);
DNSResolverData *m_data;
}; // class DNSResolver