diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-17 12:42:33 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-17 12:42:33 +0000 |
| commit | 1d2387de615b79043baeff97fc00e7906e991d8c (patch) | |
| tree | e8e89dfa0c850c13e4698eea6d0d32cdfb08be1d /lib | |
| parent | abf58409aab71fe0e16fa6051e7ccb38ddcbcc0d (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libftpio/ftpio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libftpio/ftpio.c b/lib/libftpio/ftpio.c index b5d58b82aa51..feac7a56194b 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: ftp.c,v 1.14 1995/06/11 19:29:55 rgrimes Exp $ + * $Id: ftpio.c,v 1.1.1.1 1996/06/17 12:26:06 jkh Exp $ * */ @@ -328,6 +328,8 @@ ftp_new(void) ftp->con_state = init; ftp->errno = 0; ftp->seek = 0; + if (getenv("FTP_PASSIVE_MODE")) + ftp->passive = 1; return ftp; } |
