Skip to content
Snippets Groups Projects
Commit e475b967 authored by rswindell's avatar rswindell
Browse files

Fixed %s* command lines to use ALLFILES macro (*.* on DOS-based platforms).

parent bcbce040
No related branches found
No related tags found
No related merge requests found
......@@ -539,7 +539,7 @@ bool sbbs_t::pack_qwk(char *packet, ulong *msgcnt, bool prepack)
/*******************/
/* Compress Packet */
/*******************/
sprintf(tmp2,"%s*",cfg.temp_dir);
sprintf(tmp2,"%s%s",cfg.temp_dir,ALLFILES);
i=external(cmdstr(temp_cmd(),packet,tmp2,NULL),ex);
if(!fexist(packet)) {
bputs(text[QWKCompressionFailed]);
......
......@@ -218,7 +218,7 @@ bool sbbs_t::pack_rep(uint hubnum)
/* Compress Packet */
/*******************/
sprintf(str,"%s%s.rep",cfg.data_dir,cfg.qhub[hubnum]->id);
sprintf(tmp2,"%s*",cfg.temp_dir);
sprintf(tmp2,"%s%s",cfg.temp_dir,ALLFILES);
i=external(cmdstr(cfg.qhub[hubnum]->pack,str,tmp2,NULL),EX_OFFLINE);
if(!fexist(str)) {
lputs(remove_ctrl_a(text[QWKCompressionFailed],tmp));
......
......@@ -298,7 +298,7 @@ void sbbs_t::extract(uint dirnum)
bprintf(text[DiskNBytesFree],ultoac(space,tmp));
if(!intmp) { /* not extracting FROM temp directory */
sprintf(str,"%s*",cfg.temp_dir);
sprintf(str,"%s%s",cfg.temp_dir,ALLFILES);
if(fexist(str)) {
bputs(text[RemovingTempFiles]);
dir=opendir(cfg.temp_dir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment