From ac0bf268cd954ba43d6b83b832e0e8cc4cd4a4a7 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 18 Dec 2006 23:57:04 +0000 Subject: [PATCH] DEVEL15-windows-afslogon-20061218 test for the existence of the mutex and not the bInit flag during the DLL attach (cherry picked from commit 8a1debde84c7bacb103bb1a9c3d82a1f352f441f) --- src/WINNT/afsd/afslogon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/WINNT/afsd/afslogon.c b/src/WINNT/afsd/afslogon.c index aec8863fc..f90a47266 100644 --- a/src/WINNT/afsd/afslogon.c +++ b/src/WINNT/afsd/afslogon.c @@ -78,9 +78,8 @@ BOOLEAN APIENTRY DllEntryPoint(HANDLE dll, DWORD reason, PVOID reserved) switch (reason) { case DLL_PROCESS_ATTACH: /* Initialization Mutex */ - if (!bInit) { + if (!hInitMutex) hInitMutex = CreateMutex(NULL, FALSE, NULL); - } break; case DLL_PROCESS_DETACH: -- 2.39.5