GetHost() now should return NULL when it fails, even for Tru64 unix
This commit is contained in:
parent
281d4cedc7
commit
398e3f423f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user