diff options
| author | Zousar Shaker <[email protected]> | 2021-11-29 23:27:18 -0700 |
|---|---|---|
| committer | Zousar Shaker <[email protected]> | 2021-11-29 23:27:18 -0700 |
| commit | 25c2eec10f64d22ee64a84a6bfb34e7933443c79 (patch) | |
| tree | cd9885775cce66009a9c65116e2053140e9c5485 /zenutil/zenserverprocess.cpp | |
| parent | Disable forced elevation for zenserver.exe. (diff) | |
| download | zen-25c2eec10f64d22ee64a84a6bfb34e7933443c79.tar.xz zen-25c2eec10f64d22ee64a84a6bfb34e7933443c79.zip | |
Address review feedback and fix issue when deploying.
Diffstat (limited to 'zenutil/zenserverprocess.cpp')
| -rw-r--r-- | zenutil/zenserverprocess.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zenutil/zenserverprocess.cpp b/zenutil/zenserverprocess.cpp index b43e86f00..dbe27ef20 100644 --- a/zenutil/zenserverprocess.cpp +++ b/zenutil/zenserverprocess.cpp @@ -98,9 +98,9 @@ ZenServerState::Initialize() { m_hMapFile = hMap; } - else if (HANDLE hMap = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, L"Local\\ZenMap")) + else if (HANDLE hLocalMap = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, L"Local\\ZenMap")) { - m_hMapFile = hMap; + m_hMapFile = hLocalMap; } else { @@ -154,9 +154,9 @@ ZenServerState::InitializeReadOnly() { m_hMapFile = hMap; } - else if (HANDLE hMap = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, L"Local\\ZenMap")) + else if (HANDLE hLocalMap = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, L"Local\\ZenMap")) { - m_hMapFile = hMap; + m_hMapFile = hLocalMap; } else { |