mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
singleipconnect: Update *sockp for all CURLE_OK
The 56b7c87c7
change left a case where a good sockfd was not copied to
*sockp before returning with CURLE_OK
This commit is contained in:
parent
0d1b754376
commit
278ab75e9f
@ -970,6 +970,8 @@ singleipconnect(struct connectdata *conn,
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
*sockp = sockfd;
|
||||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user