aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index ad9fb6054..694ff91b4 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -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;