Skip to content
Snippets Groups Projects
Commit 4b87d9c7 authored by Mark Valence's avatar Mark Valence
Browse files

Fixed bug (my own, rather old too) that causes a crash on exit when ru

n as a service on NT.
parent 80ab3d6a
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ int main( int argc, LPTSTR *argv )
puts( "starting slapd..." );
if (svc_installed(SERVICE_NAME, NULL) != 0
|| svc_running(SERVICE_NAME) == 1
|| StartServiceCtrlDispatcher(DispatchTable) != 0 )
|| StartServiceCtrlDispatcher(DispatchTable) == 0 )
{
is_NT_Service = 0;
ServiceMain( argc, argv );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment