Skip to content
Snippets Groups Projects
Commit 32986305 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

removed warning

parent dc27488c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment