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

When adding a msg/file header, remove the DELETE attribute

When moving or renewing files, they're first removed and then added and they were being added with the DELETE attribute set. The filenames are displayed in red when staged for deletion/removal, so that's how I noticed. Oops.
parent 32df7843
Pipeline #2099 passed with stage
in 9 minutes and 14 seconds
......@@ -1662,6 +1662,7 @@ int smb_addmsghdr(smb_t* smb, smbmsg_t* msg, int storage)
msg->idx.offset=(uint32_t)(smb->status.header_offset + l);
msg->hdr.attr &= ~MSG_DELETE;
if(i==SMB_SUCCESS) {
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