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

SM's waitconnect return code fix!

parent 1a8cf79a
No related branches found
No related tags found
No related merge requests found
......@@ -538,7 +538,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
}
break;
}
if(-1 == rc) {
if(0 != rc) {
/* no good connect was made */
sclose(sockfd);
*sockconn = -1;
......
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