mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
pgindent run on all C files. Java run to follow. initdb/regression
tests pass.
This commit is contained in:
@@ -14,19 +14,17 @@ DllMain(HINSTANCE hinstDLL, DWORD fdwReason,
|
||||
case DLL_PROCESS_ATTACH:
|
||||
if (WSAStartup(MAKEWORD(1, 1), &wsaData))
|
||||
{
|
||||
|
||||
/*
|
||||
* No really good way to do error handling here, since we
|
||||
* don't know how we were loaded
|
||||
*/
|
||||
return FALSE;
|
||||
}
|
||||
if (netmsgModule == NULL){
|
||||
netmsgModule=LoadLibraryEx("netmsg.dll",NULL,LOAD_LIBRARY_AS_DATAFILE);
|
||||
}
|
||||
if (netmsgModule == NULL)
|
||||
netmsgModule = LoadLibraryEx("netmsg.dll", NULL, LOAD_LIBRARY_AS_DATAFILE);
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
if (netmsgModule != NULL)
|
||||
if (netmsgModule != NULL)
|
||||
FreeLibrary(netmsgModule);
|
||||
WSACleanup();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user