From 7c8fffaed15c0a62291043177f84d4385cf8595e Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 5 Jan 2007 18:55:20 +0000 Subject: [PATCH] STABLE14-windows-afsd-20070105 some of the patches from the last few months that were pulled up rely on bits and pieces from other patches that weren't pulled up. --- src/WINNT/afsd/afsd_init.c | 1 + src/WINNT/afsd/afslogon.c | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/WINNT/afsd/afsd_init.c b/src/WINNT/afsd/afsd_init.c index 2f040a9dc2..c83b548b8a 100644 --- a/src/WINNT/afsd/afsd_init.c +++ b/src/WINNT/afsd/afsd_init.c @@ -561,6 +561,7 @@ int afsd_InitCM(char **reasonP) char buf[1024]; HKEY parmKey; DWORD dummyLen; + DWORD dwValue; DWORD regType; long code; /*int freelanceEnabled;*/ diff --git a/src/WINNT/afsd/afslogon.c b/src/WINNT/afsd/afslogon.c index 1446b60854..459d5e8c7f 100644 --- a/src/WINNT/afsd/afslogon.c +++ b/src/WINNT/afsd/afslogon.c @@ -80,9 +80,7 @@ BOOLEAN APIENTRY DllEntryPoint(HANDLE dll, DWORD reason, PVOID reserved) switch (reason) { case DLL_PROCESS_ATTACH: /* Initialization Mutex */ - if (!bInitMutex) { - hInitMutex = CreateMutex(NULL, FALSE, NULL); - } + hInitMutex = CreateMutex(NULL, FALSE, NULL); WSAStartup( MAKEWORD(2,2), &wsaData ); break;