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

Line feeds are ignored when converting non-ASCII chars for ASCII-only subs.

parent 3301c929
No related branches found
No related tags found
No related merge requests found
......@@ -3795,7 +3795,8 @@ void export_echomail(char *sub_code,faddr_t addr)
else
cr=0;
if(scfg.sub[i]->misc&SUB_ASCII || misc&ASCII_ONLY) {
if(buf[l]<SP && buf[l]!=CR) /* Ctrl ascii */
if(buf[l]<SP && buf[l]!=CR
&& buf[l]!=LF) /* Ctrl ascii */
buf[l]='.'; /* converted to '.' */
if((uchar)buf[l]>0x7f) /* extended ASCII */
buf[l]='*'; } /* converted to '*' */
......
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