From: Daniel Stenberg Date: Wed, 30 Jun 2004 12:04:37 +0000 (+0000) Subject: I think 1024 bytes is enough for even most ipv6 addresses :-) X-Git-Tag: upstream/7.37.1~12410 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8efa6f407d18caae93a3fa3dd3760fc51cd46760;p=platform%2Fupstream%2Fcurl.git I think 1024 bytes is enough for even most ipv6 addresses :-) --- diff --git a/lib/ftp.c b/lib/ftp.c index ad9fb60..694ff91 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;