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

Fix QWK/BLT-* copy issue (regression since v3.18)

Reported by Daryl Stout (TBOLT)
parent bef16f42
Pipeline #1925 passed with stage
in 8 minutes and 50 seconds
......@@ -708,7 +708,7 @@ bool sbbs_t::pack_qwk(char *packet, ulong *msgcnt, bool prepack)
for(i=0;i<(uint)g.gl_pathc;i++) { /* Copy BLT-*.* files */
fname=getfname(g.gl_pathv[i]);
char* fext = getfext(fname);
if(IS_DIGIT(str[4]) && fext != NULL && IS_DIGIT(*(fext + 1))) {
if(IS_DIGIT(fname[4]) && fext != NULL && IS_DIGIT(*(fext + 1))) {
SAFEPRINTF2(str,"%sQWK/%s",cfg.text_dir,fname);
SAFEPRINTF2(path,"%s%s",cfg.temp_dir,fname);
mv(str,path,/* copy: */TRUE);
......
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