aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-06-07 16:57:01 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-06-07 16:58:49 +0100
commita9b1f7eb0597dad17d8146ce7abba1ce8c08c91f (patch)
tree49a8a923b870cbd777d2cb08acb451f0855eaf09 /src/common/dns_utils.h
parentMerge pull request #306 (diff)
downloadmonero-a9b1f7eb0597dad17d8146ce7abba1ce8c08c91f.tar.xz
dns_utils: simpify smart pointer use, and use for url strings too
OK, I admit I wanted to template this struct for fun too.
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 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