projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85bd462
)
I think 1024 bytes is enough for even most ipv6 addresses :-)
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 30 Jun 2004 12:04:37 +0000
(12:04 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 30 Jun 2004 12:04:37 +0000
(12:04 +0000)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
ad9fb60
..
694ff91
100644
(file)
--- 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;