Fix ftp client's passive mode.

Before the ioctl the code zeroed the wrong variable.
This commit is contained in:
Gianluca Guida 2010-06-02 21:12:54 +00:00
parent ed0b81c25c
commit 0a42d36ac6

View file

@ -352,7 +352,7 @@ int wasopen;
if(passive) {
/* passive mode we connect to them */
tcplopt.nwtcl_flags = 0;
tcpcopt.nwtcl_flags = 0;
#ifdef DEBUG
printf("Doing TCPCONN\n");
#endif