1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

ah, simplified my latest change more

This commit is contained in:
Daniel Stenberg 2004-06-24 12:01:20 +00:00
parent e49a6feabb
commit 8879b57b73

View File

@ -353,13 +353,6 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
h = gethostbyname(hostname);
if (!h)
infof(data, "gethostbyname(2) failed for %s\n", hostname);
else {
/*
* Translate the hostent to Curl_addrinfo and return the allocated
* data.
*/
return Curl_addrinfo_copy(h, port);
}
#endif /*HAVE_GETHOSTBYNAME_R */
}