1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Fix erroneous comments in ftp_eprt.

This commit is contained in:
hniksic 2005-05-16 15:08:57 -07:00
parent fc5a9adfab
commit 3b00da8f9a

View File

@ -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. */