diff options
author | jkh <jkh@FreeBSD.org> | 1996-06-17 22:10:15 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-06-17 22:10:15 +0000 |
commit | d1a982548c6c45f5b547c222ac35713b8c3d4e06 (patch) | |
tree | a084cbfeae75ca44e503d3c3d34957c88e7bb5fb /lib/libftpio/ftpio.c | |
parent | a2bb2b476e1128fb5b0bd7bb1894f9ccbd96d751 (diff) | |
download | FreeBSD-src-d1a982548c6c45f5b547c222ac35713b8c3d4e06.zip FreeBSD-src-d1a982548c6c45f5b547c222ac35713b8c3d4e06.tar.gz |
Make binary mode the default.
Diffstat (limited to 'lib/libftpio/ftpio.c')
-rw-r--r-- | lib/libftpio/ftpio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libftpio/ftpio.c b/lib/libftpio/ftpio.c index 6420bb0..da451b8 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.3 1996/06/17 15:28:00 jkh Exp $ + * $Id: ftpio.c,v 1.4 1996/06/17 20:36:57 jkh Exp $ * */ @@ -314,6 +314,7 @@ ftp_new(void) ftp->fd_ctrl = -1; ftp->con_state = init; ftp->errno = 0; + ftp->binary = TRUE; if (getenv("FTP_PASSIVE_MODE")) ftp->passive = 1; return ftp; |