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:
dc27488
)
removed warning
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 1 Oct 2001 22:50:03 +0000
(22:50 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 1 Oct 2001 22:50:03 +0000
(22:50 +0000)
lib/connect.c
patch
|
blob
|
history
diff --git
a/lib/connect.c
b/lib/connect.c
index
ec68162
..
8ff3dd1
100644
(file)
--- a/
lib/connect.c
+++ b/
lib/connect.c
@@
-176,6
+176,8
@@
CURLcode Curl_connecthost(struct connectdata *conn,
/*
* Connecting with IPv6 support is so much easier and cleanly done
*/
+ port =0; /* we already have port in the 'remotehost' struct */
+
if(sockfd != -1)
/* don't use any previous one, it might be of wrong type */
sclose(sockfd);