mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Make binary mode the default.
This commit is contained in:
parent
ce4e6b1773
commit
42e35dc30b
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue