aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
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