diff options
Diffstat (limited to 'src/envsecurity.cpp')
| -rw-r--r-- | src/envsecurity.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/envsecurity.cpp b/src/envsecurity.cpp index 914a70ba..92f59a2d 100644 --- a/src/envsecurity.cpp +++ b/src/envsecurity.cpp @@ -424,9 +424,9 @@ MallocPtr<SECURITY_DESCRIPTOR> getSecurityDescriptor(const QString& path) BOOL ret = FALSE; DWORD length = 0; - ret = ::GetFileSecurityW(wpath.c_str(), - DACL_SECURITY_INFORMATION | OWNER_SECURITY_INFORMATION, - nullptr, 0, &length); + ret = ::GetFileSecurityW(wpath.c_str(), + DACL_SECURITY_INFORMATION | OWNER_SECURITY_INFORMATION, + nullptr, 0, &length); if (!ret || length == 0) { const auto e = GetLastError(); |
