summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-08-18 15:09:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-08-18 15:09:50 +0000
commitaf352740db00a8be048110a1322eae08c7ab24e4 (patch)
tree82009cb2226e119844ef97a1575d544858f9ab05
parent4e35b4387cc38d4722285c3b5c0393c37622c815 (diff)
downloadgnurl-af352740db00a8be048110a1322eae08c7ab24e4.tar.gz
gnurl-af352740db00a8be048110a1322eae08c7ab24e4.tar.bz2
gnurl-af352740db00a8be048110a1322eae08c7ab24e4.zip
increased the buffer size used for name lookups
-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