From d1a982548c6c45f5b547c222ac35713b8c3d4e06 Mon Sep 17 00:00:00 2001 From: jkh Date: Mon, 17 Jun 1996 22:10:15 +0000 Subject: Make binary mode the default. --- lib/libftpio/ftpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libftpio') 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; -- cgit v1.1