mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
make sure the 3rd argument passed to bind() is a socklen_t
This commit is contained in:
parent
4511f7ac50
commit
4c17ba4fc0
2 changed files with 2 additions and 2 deletions
|
|
@ -1330,7 +1330,7 @@ CURLcode ftp_use_port(struct connectdata *conn)
|
|||
if (addr || sa_filled_in) {
|
||||
portsock = socket(AF_INET, SOCK_STREAM, 0);
|
||||
if(CURL_SOCKET_BAD != portsock) {
|
||||
int size;
|
||||
socklen_t size;
|
||||
|
||||
/* we set the secondary socket variable to this for now, it
|
||||
is only so that the cleanup function will close it in case
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue