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

Show removed files in error color (red).

parent 18af43a4
Pipeline #2020 passed with stage
in 7 minutes and 26 seconds
......@@ -226,6 +226,7 @@ bool sbbs_t::removefile(smb_t* smb, file_t* f)
,f->name
,cfg.lib[cfg.dir[smb->dirnum]->lib]->sname,cfg.dir[smb->dirnum]->sname);
logline("U-",str);
f->hdr.attr |= MSG_DELETE;
return true;
}
errormsg(WHERE, ERR_REMOVE, f->name, result, smb->last_error);
......
......@@ -364,7 +364,7 @@ bool sbbs_t::listfile(file_t* f, uint dirnum, const char *search, const char let
}
cond_newline();
attr(cfg.color[clr_filename]);
attr(cfg.color[(f->hdr.attr & MSG_DELETE) ? clr_err : clr_filename]);
char fname[SMB_FILEIDX_NAMELEN + 1];
if(namelen < 12 || cols < 132)
namelen = 12;
......
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