Commit 398e3f42 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 281d4ced
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 {