diff --git a/lib/ftp.c b/lib/ftp.c index eb277f5cd..5bbc7af59 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -538,7 +538,7 @@ CURLcode _ftp(struct connectdata *conn) /* for the ftp PORT mode */ int portsock=-1; struct sockaddr_in serv_addr; - char hostent_buf[512]; + char hostent_buf[8192]; #if defined (HAVE_INET_NTOA_R) char ntoa_buf[64]; #endif