mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
tst: passthrough: minor fix
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user