aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-30 12:04:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-30 12:04:37 +0000
commit8efa6f407d18caae93a3fa3dd3760fc51cd46760 (patch)
treeff964a4d2490f28d747dcb952fa4aa969f60552f /lib
parent85bd4621dbc183def01bbdb7567dbec789e00bb3 (diff)
I think 1024 bytes is enough for even most ipv6 addresses :-)
Diffstat (limited to 'lib')
-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;