]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-windows-afsd-20070105
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 5 Jan 2007 18:55:20 +0000 (18:55 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 5 Jan 2007 18:55:20 +0000 (18:55 +0000)
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
src/WINNT/afsd/afslogon.c

index 2f040a9dc23e4748da7498623eb100d61845055c..c83b548b8a1e7a19e49dc155b47ef1cbb5de8935 100644 (file)
@@ -561,6 +561,7 @@ int afsd_InitCM(char **reasonP)
     char buf[1024];
     HKEY parmKey;
     DWORD dummyLen;
+    DWORD dwValue;
     DWORD regType;
     long code;
     /*int freelanceEnabled;*/
index 1446b60854487d5f295a412281d1f6e8ecd5cfcd..459d5e8c7f91f3119703c16acd7d3b9ad7aeead4 100644 (file)
@@ -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;