Fixed some Ymodem details

This commit is contained in:
Michiel Broek 2004-11-27 23:36:54 +00:00
parent 04f0436420
commit ac2c34c9d5

View File

@ -283,6 +283,8 @@ static int getnak(void)
case WANTG: case WANTG:
Syslog('x', "getnak: got WANTG"); Syslog('x', "getnak: got WANTG");
io_mode(0, 2); /* Set cbreak, XON/XOFF, etc. */ io_mode(0, 2); /* Set cbreak, XON/XOFF, etc. */
if (!Optiong)
Syslog('+', "%s: using Ymodem-G", protname());
Optiong = TRUE; Optiong = TRUE;
blklen=1024; blklen=1024;
Crcflg = TRUE; Crcflg = TRUE;