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.
This commit is contained in:
Jeffrey Altman 2007-01-05 18:55:20 +00:00
parent 48bfb8c7ae
commit 7c8fffaed1
2 changed files with 2 additions and 3 deletions

View 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;*/

View 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;