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 eb209e84 authored by Rob Swindell's avatar Rob Swindell 💬

Do not remove trailing white-space from lines in .sig files

This allows a .sig file to contain "\n-- \n", the "standard" USENET signature delimiter, as requested by Tracker1.
parent dc294f59
......@@ -716,7 +716,7 @@ bool sbbs_t::writemsg(const char *fname, const char *top, char *subj, long mode,
while(!feof(sig)) {
if(!fgets(str,sizeof(str),sig))
break;
truncsp(str);
truncnl(str);
if(utf8) {
char buf[sizeof(str)*4];
cp437_to_utf8_str(str, buf, sizeof(buf) - 1, /* minval: */'\x02');
......
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