From 8a1debde84c7bacb103bb1a9c3d82a1f352f441f Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 18 Dec 2006 23:56:19 +0000 Subject: [PATCH] windows-afslogon-20061218 test for the existence of the mutex and not the bInit flag during the DLL attach --- 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