Commit eee66fe9 authored by rswindell's avatar rswindell
Browse files

Fix for sendfile(), when the protocol char (mnemonic) is the space (ASCII 32)

char, don't try to match it with a transfer protocol. When a user doesn't have
a default transfer protocol selected, their "prot" property may be a space.
parent 3d67d996
......@@ -457,7 +457,7 @@ bool sbbs_t::sendfile(char* fname, char prot)
size_t i;
bool result=false;
if(prot)
if(prot > ' ')
ch=toupper(prot);
else {
xfer_prot_menu(XFER_DOWNLOAD);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment