Skip to content
Snippets Groups Projects
Commit ca7bbe2b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Must set current_file before calling xfer_prot_menu() to get download.*

Amendment to commit 03aaeb787d3f
parent 82a999f4
Branches
Tags
No related merge requests found
......@@ -1016,7 +1016,9 @@ int sbbs_t::listfileinfo(const int dirnum, const char *filespec, const int mode)
}
continue;
}
current_file = f;
xfer_prot_menu(XFER_DOWNLOAD, &useron, keys, sizeof keys);
current_file = nullptr;
sync();
mnemonics(text[ProtocolBatchQuitOrNext]);
SAFECAT(keys, "BN\r");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment