mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tst: passthrough: minor fix
This commit is contained in:
parent
a5f8736b1e
commit
9cd6710438
@ -254,6 +254,9 @@ static NTSTATUS Overwrite(FSP_FILE_SYSTEM *FileSystem,
|
||||
|
||||
if (ReplaceFileAttributes)
|
||||
{
|
||||
if (0 == FileAttributes)
|
||||
FileAttributes = FILE_ATTRIBUTES_NORMAL;
|
||||
|
||||
BasicInfo.FileAttributes = FileAttributes;
|
||||
if (!SetFileInformationByHandle(Handle,
|
||||
FileBasicInfo, &BasicInfo, sizeof BasicInfo))
|
||||
|
Loading…
x
Reference in New Issue
Block a user