From: Daniel Stenberg Date: Wed, 28 Nov 2001 12:16:52 +0000 (+0000) Subject: use in_addr_t for inet_addr() return code. Now, now portable is this *REALLY*? X-Git-Tag: curl-7_9_2~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aff19f64b5786786372d05303e20291d8de2286d;p=curl use in_addr_t for inet_addr() return code. Now, now portable is this *REALLY*? We should add some configure tests for this! --- diff --git a/lib/ftp.c b/lib/ftp.c index a49ff0cbe..0d2ff7447 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -815,7 +815,7 @@ ftp_pasv_verbose(struct connectdata *conn, char hostent_buf[8192]; #if defined(HAVE_INET_ADDR) - unsigned long address; + in_addr_t address; # if defined(HAVE_GETHOSTBYADDR_R) int h_errnop; # endif