Commit ae1d6f29 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

singleipconnect() returns a socket descriptor, not a CURLcode (but perhaps

we should make it do that...)
parent ccfc1ddb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -645,7 +645,7 @@ singleipconnect(struct connectdata *conn,
    CURLcode res = bindlocal(conn, sockfd);
    if(res) {
      sclose(sockfd); /* close socket and bail out */
      return res;
      return CURL_SOCKET_BAD;
    }
  }