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

Remove call to smb_hashmsg() from smb_addmsghdr().

parent 5fbf826e
No related branches found
No related tags found
No related merge requests found
......@@ -1460,11 +1460,11 @@ int SMBCALL smb_addmsghdr(smb_t* smb, smbmsg_t* msg, int storage)
msg->idx.attr=msg->hdr.attr;
msg->offset=smb->status.total_msgs;
i=smb_putmsg(smb,msg);
if(i==0) { /* success */
if(i==SMB_SUCCESS) {
smb->status.last_msg++;
smb->status.total_msgs++;
smb_putstatus(smb);
smb_hashmsg(smb,msg,NULL);
/* smb_hashmsg(smb,msg,NULL); */
}
smb_unlocksmbhdr(smb);
return(i);
......
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