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)
|
if (flags & LH_PASSIVE)
|
||||||
hints.ai_flags |= AI_PASSIVE;
|
hints.ai_flags |= AI_PASSIVE;
|
||||||
|
|
||||||
/* No need to call getaddrinfo_with_timeout here, as we're not
|
/* No need to specify timeout, as we're not resolving HOST, but
|
||||||
resolving anything, but merely translating the address from the
|
merely translating it from the presentation (ASCII) to network
|
||||||
presentation (ASCII) to network format. */
|
format. */
|
||||||
err = getaddrinfo (host, NULL, &hints, &res);
|
err = getaddrinfo (host, NULL, &hints, &res);
|
||||||
if (err == 0 && res != NULL)
|
if (err == 0 && res != NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user