1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

use in_addr_t for inet_addr() return code. Now, now portable is this *REALLY*?

We should add some configure tests for this!
This commit is contained in:
Daniel Stenberg 2001-11-28 12:16:52 +00:00
parent 15a56b42d6
commit aff19f64b5

View File

@ -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