From a0d397d05661fd0b609a00fad5f7c542b0a12921 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 3 Mar 2003 06:43:12 +0000 Subject: [PATCH] Default is_NT_Service to no --- libraries/liblutil/ntservice.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/liblutil/ntservice.c b/libraries/liblutil/ntservice.c index 7338222cbe..c5c12569fe 100644 --- a/libraries/liblutil/ntservice.c +++ b/libraries/liblutil/ntservice.c @@ -45,8 +45,7 @@ LDAP_SLAPD_V (int) slap_debug; #define SCM_NOTIFICATION_INTERVAL 5000 #define THIRTY_SECONDS (30 * 1000) -int is_NT_Service = 1; /* assume this is an NT service until determined that */ - /* startup was from the command line */ +int is_NT_Service; /* is this is an NT service? */ SERVICE_STATUS SLAPDServiceStatus; SERVICE_STATUS_HANDLE hSLAPDServiceStatus; -- 2.39.5