aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-11-28 12:16:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-11-28 12:16:52 +0000
commitaff19f64b5786786372d05303e20291d8de2286d (patch)
treef43a42ef488926477c12554f3b04c83147973903
parent15a56b42d6203603eadfe54f2b58f51de73fdac8 (diff)
use in_addr_t for inet_addr() return code. Now, now portable is this *REALLY*?
We should add some configure tests for this!
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
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