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:
ced8955
)
added port number in informational connect message
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 2 Oct 2001 12:51:15 +0000
(12:51 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 2 Oct 2001 12:51:15 +0000
(12:51 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
bc4ae3b
..
198170d
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-2047,9
+2047,10
@@
static CURLcode CreateConnection(struct SessionHandle *data,
snprintf(hbuf, sizeof(hbuf), "?");
}
if (ai->ai_canonname) {
- infof(data, "Connected to %s (%s)\n", ai->ai_canonname, hbuf);
+ infof(data, "Connected to %s (%s) port %d\n", ai->ai_canonname, hbuf,
+ conn->port);
} else {
- infof(data, "Connected to %s
\n", hbuf
);
+ infof(data, "Connected to %s
port %d\n", hbuf, conn->port
);
}
}
#else