projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e49a6fe
)
ah, simplified my latest change more
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 24 Jun 2004 12:01:20 +0000
(12:01 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 24 Jun 2004 12:01:20 +0000
(12:01 +0000)
lib/hostip4.c
patch
|
blob
|
history
diff --git
a/lib/hostip4.c
b/lib/hostip4.c
index
284ed0b
..
76f7518
100644
(file)
--- a/
lib/hostip4.c
+++ b/
lib/hostip4.c
@@
-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 */
}