Commit 8efa6f40 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

I think 1024 bytes is enough for even most ipv6 addresses :-)

parent 85bd4621
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;