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

No longer necessary to UN-lock the SMB header before calling smb_addmsghdr().

parent d2f577f5
No related branches found
No related tags found
No related merge requests found
......@@ -437,9 +437,8 @@ bool sbbs_t::qwktomsg(FILE *qwk_fp, char *hdrblk, char fromhub, uint subnum
fwrite(tail,taillen,1,smb.sdt_fp);
smb_dfield(&msg,TEXT_TAIL,taillen+2); }
fflush(smb.sdt_fp);
smb_unlocksmbhdr(&smb);
if((i=smb_addmsghdr(&smb,&msg,storage))!=0)
if((i=smb_addmsghdr(&smb,&msg,storage))!=0) // calls smb_unlocksmbhdr()
errormsg(WHERE,ERR_WRITE,smb.file,i);
smb_freemsgmem(&msg);
......
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