aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKamil Domanski <kdomanski@kdemail.net>2014-05-13 21:02:17 +0200
committerKamil Domanski <kdomanski@kdemail.net>2014-05-20 14:58:21 +0200
commit5bd4adca716738a4de35aed2ccad874d3301fefc (patch)
tree9faafe92cb026a304143580669d2f53960510d55 /src
parent595f691d0acd871ecaba323d888a3632805c1828 (diff)
remove LookupHostNumeric( ) which is never used
Diffstat (limited to 'src')
-rw-r--r--src/netbase.cpp5
-rw-r--r--src/netbase.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp
index 82a681281d..c72d777e3d 100644
--- a/src/netbase.cpp
+++ b/src/netbase.cpp
@@ -123,11 +123,6 @@ bool LookupHost(const char *pszName, std::vector<CNetAddr>& vIP, unsigned int nM
return LookupIntern(strHost.c_str(), vIP, nMaxSolutions, fAllowLookup);
}
-bool LookupHostNumeric(const char *pszName, std::vector<CNetAddr>& vIP, unsigned int nMaxSolutions)
-{
- return LookupHost(pszName, vIP, nMaxSolutions, false);
-}
-
bool Lookup(const char *pszName, std::vector<CService>& vAddr, int portDefault, bool fAllowLookup, unsigned int nMaxSolutions)
{
if (pszName[0] == 0)
diff --git a/src/netbase.h b/src/netbase.h
index 118f866d6c..35547b2660 100644
--- a/src/netbase.h
+++ b/src/netbase.h
@@ -173,7 +173,6 @@ bool IsProxy(const CNetAddr &addr);
bool SetNameProxy(CService addrProxy, int nSocksVersion = 5);
bool HaveNameProxy();
bool LookupHost(const char *pszName, std::vector<CNetAddr>& vIP, unsigned int nMaxSolutions = 0, bool fAllowLookup = true);
-bool LookupHostNumeric(const char *pszName, std::vector<CNetAddr>& vIP, unsigned int nMaxSolutions = 0);
bool Lookup(const char *pszName, CService& addr, int portDefault = 0, bool fAllowLookup = true);
bool Lookup(const char *pszName, std::vector<CService>& vAddr, int portDefault = 0, bool fAllowLookup = true, unsigned int nMaxSolutions = 0);
bool LookupNumeric(const char *pszName, CService& addr, int portDefault = 0);