Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 941f8d71 authored by rswindell's avatar rswindell

Don't export ctrl-chars to message networks when the original message uses

the Ctrl-A codes: L (CLS), < (backspace), [ (CR), or ] (LF).
parent 49bf25bd
......@@ -917,8 +917,6 @@ void sbbs_t::qwktonetmail(FILE *rep, char *block, char *into, uchar fromhub)
l++;
if(l>=length)
break;
if((ch=ctrl_a_to_ascii_char(qwkbuf[l])) != 0)
write(fido,&ch,1);
}
else if(qwkbuf[l]!=LF) {
if(qwkbuf[l]==QWK_NEWLINE) /* QWK cr/lf char converted to hard CR */
......
......@@ -399,11 +399,6 @@ ulong sbbs_t::msgtoqwk(smbmsg_t* msg, FILE *qwk_fp, long mode, smb_t* smb
ch=buf[++l];
if(ch==0 || ch=='Z') /* EOF */
break;
if((asc=ctrl_a_to_ascii_char(ch)) != 0) {
fputc(asc,qwk_fp);
size++;
continue;
}
if(mode&QM_EXPCTLA) {
str[0]=0;
switch(toupper(ch)) {
......
......@@ -4916,8 +4916,6 @@ void export_echomail(const char* sub_code, const nodecfg_t* nodecfg, bool rescan
l++;
if(buf[l]==0 || buf[l]=='Z') /* EOF */
break;
if((ch=ctrl_a_to_ascii_char(buf[l])) != 0)
fmsgbuf[f++]=ch;
continue;
}
......
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