mirror of
https://github.com/moparisthebest/curl
synced 2025-01-04 10:28:08 -05:00
increased the buffer size used for name lookups
This commit is contained in:
parent
4e35b4387c
commit
af352740db
@ -538,7 +538,7 @@ CURLcode _ftp(struct connectdata *conn)
|
|||||||
/* for the ftp PORT mode */
|
/* for the ftp PORT mode */
|
||||||
int portsock=-1;
|
int portsock=-1;
|
||||||
struct sockaddr_in serv_addr;
|
struct sockaddr_in serv_addr;
|
||||||
char hostent_buf[512];
|
char hostent_buf[8192];
|
||||||
#if defined (HAVE_INET_NTOA_R)
|
#if defined (HAVE_INET_NTOA_R)
|
||||||
char ntoa_buf[64];
|
char ntoa_buf[64];
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user