X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fnetbase.h;h=80bd90df19c20f2d0f25af2a4788258d4a2eda0d;hb=10078fb8bd67739f0f94997902f5fa1700cb97c3;hp=9508b414a77ae3ecc4230798894d6c9cdcc63b66;hpb=ea2b40cbff0a1f75aee1427a11da96959af0691e;p=novacoin.git diff --git a/src/netbase.h b/src/netbase.h index 9508b41..80bd90d 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -140,7 +140,7 @@ bool GetProxy(enum Network net, proxyType &proxyInfoOut); bool IsProxy(const CNetAddr &addr); bool SetNameProxy(CService addrProxy, int nSocksVersion = 5); bool HaveNameProxy(); -bool LookupHost(const std::string strName, std::vector& vIP, unsigned int nMaxSolutions = 0, bool fAllowLookup = true); +bool LookupHost(const std::string& strName, std::vector& vIP, unsigned int nMaxSolutions = 0, bool fAllowLookup = true); bool LookupHost(const char *pszName, std::vector& vIP, unsigned int nMaxSolutions = 0, bool fAllowLookup = true); bool Lookup(const char *pszName, CService& addr, uint16_t portDefault = 0, bool fAllowLookup = true); bool Lookup(const char *pszName, std::vector& vAddr, uint16_t portDefault = 0, bool fAllowLookup = true, unsigned int nMaxSolutions = 0);