[svn] Doc fix.

This commit is contained in:
hniksic 2003-10-31 18:29:38 -08:00
parent bed1c56453
commit 5b8d5d5a05

View File

@ -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)
{ {