diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-04-04 06:07:56 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-04-04 06:07:56 +0000 |
commit | d560207ea183a051b86c9e01b3ec4c6490cde4e7 (patch) | |
tree | ba7b20ebc1fd6f51a026e16071be8345b3ec181f | |
parent | 90b51831fd2dea9a4c29237e74472eb4735034ef (diff) |
This corrects VERBOSE PASV ftp transfers on AIX (and OSF1/Tru64)
Gerhard Herre reported this in bug report #536238
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -907,8 +907,10 @@ ftp_pasv_verbose(struct connectdata *conn, if(gethostbyaddr_r((char *) &address, sizeof(address), AF_INET, (struct hostent *)hostent_buf, - hostent_buf + sizeof(*answer))) + (struct hostent_data *)(hostent_buf + sizeof(*answer)))) answer=NULL; + else + answer=(struct hostent *)hostent_buf; # endif # ifdef HAVE_GETHOSTBYADDR_R_7 |