aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-06-17 12:42:33 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-06-17 12:42:33 +0000
commit1d2387de615b79043baeff97fc00e7906e991d8c (patch)
treee8e89dfa0c850c13e4698eea6d0d32cdfb08be1d /lib
parentabf58409aab71fe0e16fa6051e7ccb38ddcbcc0d (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libftpio/ftpio.c4
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;
}