mirror of
https://github.com/winfsp/winfsp.git
synced 2026-11-01 06:45:16 -06:00
tst: passthrough: minor fix
This commit is contained in:
1 parent
a5f8736b1e
commit
9cd6710438
1 file changed
+3
@@ -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