Commit 3edd9b4d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

SM's waitconnect return code fix!

parent 1a8cf79a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;