GetHost() now should return NULL when it fails, even for Tru64 unix

This commit is contained in:
Daniel Stenberg 2000-09-18 21:16:27 +00:00
parent 281d4cedc7
commit 398e3f423f

View File

@ -165,6 +165,7 @@ struct hostent *GetHost(struct UrlData *data,
#endif
{
infof(data, "gethostbyname_r(2) failed for %s\n", hostname);
h = NULL; /* set return code to NULL */
}
#else
else {