Skip to content
Snippets Groups Projects
Commit 343c42dd authored by deuce's avatar deuce
Browse files

Remove possible fallback from YMODEM-g to XMODEM-g

parent a2d2e2a6
No related branches found
No related tags found
No related merge requests found
......@@ -1250,7 +1250,7 @@ void xmodem_download(struct bbslist *bbs, long mode, char *path)
}
if(i==NOT_YMODEM && errors) {
lprintf(LOG_WARNING,"Falling back to XModem");
mode &= ~YMODEM;
mode &= ~(YMODEM|GMODE);
mode |= XMODEM|CRC;
erase_transfer_window();
if(uifc.input(WIN_MID|WIN_SAV,0,0,"XMODEM Filename",fname,sizeof(fname),0)==-1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment