Skip to content

Commit 12cc570

Browse files
committed
net: update incorrect Doxygen documentation in netbase.cpp
1 parent eceb3f7 commit 12cc570

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/netbase.cpp

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ static bool LookupIntern(const std::string& name, std::vector<CNetAddr>& vIP, un
178178
* @returns Whether or not the specified host string successfully resolved to
179179
* any resulting network addresses.
180180
*
181-
* @see Lookup(const char *, std::vector<CService>&, int, bool, unsigned int)
181+
* @see Lookup(const std::string&, std::vector<CService>&, int, bool, unsigned int, DNSLookupFn)
182182
* for additional parameter descriptions.
183183
*/
184184
bool LookupHost(const std::string& name, std::vector<CNetAddr>& vIP, unsigned int nMaxSolutions, bool fAllowLookup, DNSLookupFn dns_lookup_function)
@@ -199,8 +199,8 @@ bool LookupHost(const std::string& name, std::vector<CNetAddr>& vIP, unsigned in
199199
/**
200200
* Resolve a host string to its first corresponding network address.
201201
*
202-
* @see LookupHost(const std::string&, std::vector<CNetAddr>&, unsigned int, bool) for
203-
* additional parameter descriptions.
202+
* @see LookupHost(const std::string&, std::vector<CNetAddr>&, unsigned int, bool, DNSLookupFn)
203+
* for additional parameter descriptions.
204204
*/
205205
bool LookupHost(const std::string& name, CNetAddr& addr, bool fAllowLookup, DNSLookupFn dns_lookup_function)
206206
{
@@ -257,7 +257,7 @@ bool Lookup(const std::string& name, std::vector<CService>& vAddr, int portDefau
257257
/**
258258
* Resolve a service string to its first corresponding service.
259259
*
260-
* @see Lookup(const char *, std::vector<CService>&, int, bool, unsigned int)
260+
* @see Lookup(const std::string&, std::vector<CService>&, int, bool, unsigned int, DNSLookupFn)
261261
* for additional parameter descriptions.
262262
*/
263263
bool Lookup(const std::string& name, CService& addr, int portDefault, bool fAllowLookup, DNSLookupFn dns_lookup_function)
@@ -277,11 +277,10 @@ bool Lookup(const std::string& name, CService& addr, int portDefault, bool fAllo
277277
* Resolve a service string with a numeric IP to its first corresponding
278278
* service.
279279
*
280-
* @returns The resulting CService if the resolution was successful, [::]:0
281-
* otherwise.
280+
* @returns The resulting CService if the resolution was successful, [::]:0 otherwise.
282281
*
283-
* @see Lookup(const char *, CService&, int, bool) for additional parameter
284-
* descriptions.
282+
* @see Lookup(const std::string&, std::vector<CService>&, int, bool, unsigned int, DNSLookupFn)
283+
* for additional parameter descriptions.
285284
*/
286285
CService LookupNumeric(const std::string& name, int portDefault, DNSLookupFn dns_lookup_function)
287286
{

0 commit comments

Comments
 (0)