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

Fix CID 530001

temp_cmd() should've been called first on any sane platform. <shrug>
parent 3b44cb42
No related branches found
No related tags found
No related merge requests found
......@@ -747,7 +747,8 @@ bool sbbs_t::pack_qwk(char *packet, uint *msgcnt, bool prepack)
}
if(flength(packet) < 1) {
remove(packet);
if((i = external(cmdstr(temp_cmd(ex),packet,path,NULL,ex), ex|EX_WILDCARD)) != 0)
cmdstr(temp_cmd(ex),packet,path,NULL,ex);
if((i = external(cmdstr_output, ex|EX_WILDCARD)) != 0)
errormsg(WHERE, ERR_EXEC, cmdstr_output, i);
if(flength(packet) < 1) {
bputs(text[QWKCompressionFailed]);
......
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