mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Doc fix.
This commit is contained in:
parent
bed1c56453
commit
5b8d5d5a05
@ -508,9 +508,9 @@ lookup_host (const char *host, int flags)
|
||||
if (flags & LH_PASSIVE)
|
||||
hints.ai_flags |= AI_PASSIVE;
|
||||
|
||||
/* No need to call getaddrinfo_with_timeout here, as we're not
|
||||
resolving anything, but merely translating the address from the
|
||||
presentation (ASCII) to network format. */
|
||||
/* No need to specify timeout, as we're not resolving HOST, but
|
||||
merely translating it from the presentation (ASCII) to network
|
||||
format. */
|
||||
err = getaddrinfo (host, NULL, &hints, &res);
|
||||
if (err == 0 && res != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user