mirror of
https://github.com/curl/curl.git
synced 2026-05-08 16:07:28 +03:00
I think 1024 bytes is enough for even most ipv6 addresses :-)
This commit is contained in:
parent
85bd4621db
commit
8efa6f407d
1 changed files with 1 additions and 1 deletions
|
|
@ -1066,7 +1066,7 @@ CURLcode ftp_use_port(struct connectdata *conn)
|
|||
struct sockaddr *sa=(struct sockaddr *)&ss;
|
||||
unsigned char *ap;
|
||||
unsigned char *pp;
|
||||
char portmsgbuf[4096], tmp[4096];
|
||||
char portmsgbuf[1024], tmp[1024];
|
||||
|
||||
const char *mode[] = { "EPRT", "LPRT", "PORT", NULL };
|
||||
char **modep;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue