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 818af5b0 authored by rswindell's avatar rswindell

Fix bug in previous commit - a line is not a kludge line if it doesn't contain

a CR *and* it doesn't contain a 0xE3 (QWK newline). <sigh>
parent 43e3a007
......@@ -339,7 +339,7 @@ bool sbbs_t::qwk_import_msg(FILE *qwk_fp, char *hdrblk, ulong blocks
|| strnicmp(qwkbuf+k,"From:",5)==0
|| strnicmp(qwkbuf+k,"Subject:",8)==0)))) {
if((p=strchr(qwkbuf+k, '\r'))==NULL
|| (p=strchr(qwkbuf+k, qwk_newline))==NULL) {
&& (p=strchr(qwkbuf+k, qwk_newline))==NULL) {
body[bodylen++]=qwkbuf[k];
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