From af352740db00a8be048110a1322eae08c7ab24e4 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Fri, 18 Aug 2000 15:09:50 +0000
Subject: [PATCH] increased the buffer size used for name lookups

---
 lib/ftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ftp.c b/lib/ftp.c
index eb277f5cd0..5bbc7af595 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
-- 
GitLab