Fix ftp client's passive mode.
Before the ioctl the code zeroed the wrong variable.
This commit is contained in:
parent
ed0b81c25c
commit
0a42d36ac6
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ int wasopen;
|
||||||
|
|
||||||
if(passive) {
|
if(passive) {
|
||||||
/* passive mode we connect to them */
|
/* passive mode we connect to them */
|
||||||
tcplopt.nwtcl_flags = 0;
|
tcpcopt.nwtcl_flags = 0;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("Doing TCPCONN\n");
|
printf("Doing TCPCONN\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue