From: Gianluca Guida Date: Wed, 2 Jun 2010 21:12:54 +0000 (+0000) Subject: Fix ftp client's passive mode. X-Git-Tag: v3.1.7~11 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=0a42d36ac62255a8416b997b5f9bfdbe846aa652;p=minix.git Fix ftp client's passive mode. Before the ioctl the code zeroed the wrong variable. --- diff --git a/commands/ftp101/net.c b/commands/ftp101/net.c index b2c9e87dc..a112e4439 100644 --- a/commands/ftp101/net.c +++ b/commands/ftp101/net.c @@ -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