1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-06 18:29:47 +00:00

Send PASV instead of PASSIVE.

Submitted-By: Archie Cobbs <archie@whistle.com>
This commit is contained in:
Jordan K. Hubbard 1996-10-10 08:34:27 +00:00
parent 9829c47606
commit 3643c5565c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18851

View File

@ -14,7 +14,7 @@
* Turned inside out. Now returns xfers as new file ids, not as a special
* `state' of FTP_t
*
* $Id: ftpio.c,v 1.13 1996/08/31 22:02:18 jkh Exp $
* $Id: ftpio.c,v 1.14 1996/09/19 17:28:26 peter Exp $
*
*/
@ -291,7 +291,7 @@ ftpPassive(FILE *fp, int st)
if (ftp->is_passive == st)
return SUCCESS;
i = cmd(ftp, "PASSIVE");
i = cmd(ftp, "PASV");
if (i < 0)
return i;
ftp->is_passive = !ftp->is_passive;