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:
78473f7
)
getaddrinfo() failures now show port number too in informational output
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 10 Jun 2002 13:26:02 +0000
(13:26 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 10 Jun 2002 13:26:02 +0000
(13:26 +0000)
lib/hostip.c
patch
|
blob
|
history
diff --git
a/lib/hostip.c
b/lib/hostip.c
index 4ca6000458b3d3abfd516be3fc5f7608a41e3b2d..c6cd28b758a26210b39c243a74a204c2f6f38b1f 100644
(file)
--- a/
lib/hostip.c
+++ b/
lib/hostip.c
@@
-344,7
+344,7
@@
Curl_addrinfo *Curl_getaddrinfo(struct SessionHandle *data,
snprintf(sbuf, sizeof(sbuf), "%d", port);
error = getaddrinfo(hostname, sbuf, &hints, &res);
if (error) {
- infof(data, "getaddrinfo(3) failed for %s
\n", hostname
);
+ infof(data, "getaddrinfo(3) failed for %s
:%d\n", hostname, port
);
return NULL;
}
*bufp=(char *)res; /* make it point to the result struct */