Commit ddba8d7c authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix previous commit: we need to use mycmdstr(), not cmdstr().

parent 5f6421ca
Pipeline #224 passed with stage
in 17 minutes and 49 seconds
......@@ -3613,7 +3613,7 @@ int fmsgtosmsg(char* fbuf, fmsghdr_t* hdr, uint user, uint subnum)
i=smb_addmsg(smbfile, &msg, smb_storage_mode(&scfg, smbfile), dupechk_hashes, xlat, sbody, stail);
if(i == SMB_SUCCESS) {
if(subnum != INVALID_SUB && scfg.sub[subnum]->post_sem[0])
ftouch(cmdstr(&scfg, NULL, scfg.sub[subnum]->post_sem, "", "", str));
ftouch(mycmdstr(&scfg, scfg.sub[subnum]->post_sem, "", ""));
} else {
lprintf(LOG_ERR,"ERROR %d (%s) line %d adding message to %s"
,i, smbfile->last_error, __LINE__, subnum==INVALID_SUB ? "mail":scfg.sub[subnum]->code);
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