Fix the previous rev.

This commit is contained in:
Markus Armbruster 2005-03-12 17:34:11 +00:00
parent 8169a0a031
commit 63d8684cd0

View file

@ -202,13 +202,13 @@ service_main(DWORD argc, LPTSTR *argv)
if (service_status_handle == (SERVICE_STATUS_HANDLE)0) {
logerror("RegisterServiceCtrlHandler failed %d\n", GetLastError());
finish_server()
finish_server();
return;
}
if ((hShutdownEvent = CreateEvent(NULL, TRUE, FALSE, NULL)) == NULL) {
logerror("CreateEvent for Shutdown failed %d\n", GetLastError());
finish_server()
finish_server();
return;
}