From: hniksic Date: Mon, 16 May 2005 22:08:57 +0000 (-0700) Subject: [svn] Fix erroneous comments in ftp_eprt. X-Git-Tag: v1.13~1021 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=3b00da8f9a7f115f107827f8eef097ba0bd4030c [svn] Fix erroneous comments in ftp_eprt. --- diff --git a/src/ftp-basic.c b/src/ftp-basic.c index 5c38be02..3c43b0c1 100644 --- a/src/ftp-basic.c +++ b/src/ftp-basic.c @@ -450,7 +450,7 @@ ftp_eprt (int csock, int *local_sock) int nwritten; int port; /* Must contain the argument of EPRT (of the form |af|addr|port|). - * 4 chars for the | separators, ENABLE_IPV6_ADDRSTRLEN chars for addr + * 4 chars for the | separators, INET6_ADDRSTRLEN chars for addr * 1 char for af (1-2) and 5 chars for port (0-65535) */ char bytes[4 + INET6_ADDRSTRLEN + 1 + 5 + 1]; @@ -468,7 +468,7 @@ ftp_eprt (int csock, int *local_sock) if (*local_sock < 0) return FTPSYSERR; - /* Construct the argument of LPRT (of the form af,n,h1,h2,...,hn,p1,p2). */ + /* Construct the argument of EPRT (of the form |af|addr|port|). */ ip_address_to_eprt_repr (&addr, port, bytes, sizeof (bytes)); /* Send PORT request. */