From: Jeffrey Altman Date: Fri, 5 Jan 2007 18:55:20 +0000 (+0000) Subject: STABLE14-windows-afsd-20070105 X-Git-Tag: openafs-stable-1_4_3rc1~17 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7c8fffaed15c0a62291043177f84d4385cf8595e;p=packages%2Fo%2Fopenafs.git 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. --- diff --git a/src/WINNT/afsd/afsd_init.c b/src/WINNT/afsd/afsd_init.c index 2f040a9dc..c83b548b8 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 1446b6085..459d5e8c7 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;