mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
SM's waitconnect return code fix!
This commit is contained in:
parent
1a8cf79ae0
commit
3edd9b4dfc
@ -538,7 +538,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(-1 == rc) {
|
if(0 != rc) {
|
||||||
/* no good connect was made */
|
/* no good connect was made */
|
||||||
sclose(sockfd);
|
sclose(sockfd);
|
||||||
*sockconn = -1;
|
*sockconn = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user