Skip to content
Snippets Groups Projects
Commit 5a63e648 authored by rswindell's avatar rswindell
Browse files

Make the out BAUD and BPS @-codes report the current emulated output rate,

if not unlimited.
parent 23b1912a
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,7 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode) ...@@ -294,7 +294,7 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode)
return(cfg.sys_name); return(cfg.sys_name);
if(!strcmp(sp,"BAUD") || !strcmp(sp,"BPS")) { if(!strcmp(sp,"BAUD") || !strcmp(sp,"BPS")) {
safe_snprintf(str,maxlen,"%lu",cur_rate); safe_snprintf(str,maxlen,"%lu",cur_output_rate ? cur_output_rate : cur_rate);
return(str); return(str);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment