diff options
author | jkh <jkh@FreeBSD.org> | 1996-10-10 08:34:27 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-10-10 08:34:27 +0000 |
commit | a5e0f0331bae5c7ae2f66bda4fc264dcad4aea9d (patch) | |
tree | dea1ed9b6494f7031e36a4919d1fa0f4ce94affe /lib/libftpio | |
parent | 82f4bc9f707f2d473ee98953a2f18a03bd0b76aa (diff) | |
download | FreeBSD-src-a5e0f0331bae5c7ae2f66bda4fc264dcad4aea9d.zip FreeBSD-src-a5e0f0331bae5c7ae2f66bda4fc264dcad4aea9d.tar.gz |
Send PASV instead of PASSIVE.
Submitted-By: Archie Cobbs <archie@whistle.com>
Diffstat (limited to 'lib/libftpio')
-rw-r--r-- | lib/libftpio/ftpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libftpio/ftpio.c b/lib/libftpio/ftpio.c index 71cae49..578d5b7 100644 --- a/lib/libftpio/ftpio.c +++ b/lib/libftpio/ftpio.c @@ -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; |