Commit 278ab75e authored by Tor Arntsen's avatar Tor Arntsen Committed by Daniel Stenberg
Browse files

singleipconnect: Update *sockp for all CURLE_OK

The 56b7c87c change left a case where a good sockfd was not copied to
*sockp before returning with CURLE_OK
parent 0d1b7543
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -970,6 +970,8 @@ singleipconnect(struct connectdata *conn,
      break;
    }
  }
  else
    *sockp = sockfd;

  return CURLE_OK;
}