Loading lib/connect.c +3 −1 Original line number Diff line number Diff line Loading @@ -640,9 +640,11 @@ singleipconnect(struct connectdata *conn, /* user selected to bind the outgoing socket to a specified "device" before doing connect */ CURLcode res = bindlocal(conn, sockfd); if(res) if(res) { sclose(sockfd); /* close socket and bail out */ return res; } } /* set socket non-blocking */ Curl_nonblock(sockfd, TRUE); Loading Loading
lib/connect.c +3 −1 Original line number Diff line number Diff line Loading @@ -640,9 +640,11 @@ singleipconnect(struct connectdata *conn, /* user selected to bind the outgoing socket to a specified "device" before doing connect */ CURLcode res = bindlocal(conn, sockfd); if(res) if(res) { sclose(sockfd); /* close socket and bail out */ return res; } } /* set socket non-blocking */ Curl_nonblock(sockfd, TRUE); Loading