From 36485e56ed428d324fb08cd94cc36031310806e6 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 11 Dec 2005 12:03:01 +0000 Subject: Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct. --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ftp.c') diff --git a/lib/ftp.c b/lib/ftp.c index 6c35ce215..7b177468c 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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; -- cgit v1.2.3