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

smb_addmsg() now initializes the idx record in an smbmsg_t using

smb_init_idx().
parent 6b6aaa69
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,7 @@ int SMBCALL smb_addmsg(smb_t* smb, smbmsg_t* msg, int storage, long dupechk_hash
}
if(msg->hdr.when_written.time==0) /* Uninitialized */
msg->hdr.when_written = msg->hdr.when_imported;
msg->idx.time=msg->hdr.when_imported.time;
smb_init_idx(smb,msg);
/* Look-up thread_back if RFC822 Reply-ID was specified */
if(msg->hdr.thread_back==0 && msg->reply_id!=NULL) {
......
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