diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-11 12:03:01 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-11 12:03:01 +0000 |
commit | 36485e56ed428d324fb08cd94cc36031310806e6 (patch) | |
tree | ffbe2d8dad272873ef76d51cfb914e32c004b9f3 /lib/ftp.c | |
parent | b4113360f6401af200505f8df8203619a380c80a (diff) |
Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -780,7 +780,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, */ struct Curl_sockaddr_storage ss; struct addrinfo *res, *ai; - socklen_t sslen; + size_t sslen; char hbuf[NI_MAXHOST]; struct sockaddr *sa=(struct sockaddr *)&ss; unsigned char *ap; |