diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-07-04 21:48:54 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-07-04 21:48:54 +0000 |
commit | 4c17ba4fc044eb7eb02ed7ea8c716b8f7e6614d9 (patch) | |
tree | fb71d8e8b5d7a4d21f8cc69372a98f7a66c71547 /lib/ftp.c | |
parent | 4511f7ac5066350c5aa8f590871758bd867f93e8 (diff) |
make sure the 3rd argument passed to bind() is a socklen_t
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 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 |