Skip to content
Snippets Groups Projects
Commit 314cd529 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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

Reported by Daryl Stout (TBOLT)
parent bef16f42
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1925 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment