mirror of
https://github.com/curl/curl.git
synced 2026-07-28 00:13:09 +03:00
GetHost() now should return NULL when it fails, even for Tru64 unix
This commit is contained in:
parent
281d4cedc7
commit
398e3f423f
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue