From aff19f64b5786786372d05303e20291d8de2286d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 28 Nov 2001 12:16:52 +0000 Subject: [PATCH] use in_addr_t for inet_addr() return code. Now, now portable is this *REALLY*? We should add some configure tests for this! --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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