diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-01-02 10:06:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-01-02 10:06:47 +0000 |
commit | fe37fb5921a590a70ddcdb146955eb94b9ecf17b (patch) | |
tree | 6ab7a1ad89dd69bc25a4f8c6548b2087434a141d /lib/ftp.c | |
parent | 221ecd0a30a7283277ba0dc9036a9afe6f99147a (diff) |
Philip Gladstone's 64-bit sparc native compiler compatibility issues fixed.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1211,10 +1211,10 @@ CURLcode ftp_use_port(struct connectdata *conn) if(bind(portsock, (struct sockaddr *)&sa, size) >= 0) { /* we succeeded to bind */ struct sockaddr_in add; - size = sizeof(add); + socklen_t socksize = sizeof(add); if(getsockname(portsock, (struct sockaddr *) &add, - (socklen_t *)&size)<0) { + &socksize)<0) { failf(data, "getsockname() failed"); return CURLE_FTP_PORT_FAILED; } |