From b1701d24e143151fd76aadbd0437115b95615d86 Mon Sep 17 00:00:00 2001 From: Gary Williams Date: Wed, 4 Aug 1999 18:26:19 +0000 Subject: [PATCH] if urls is NULL, default to ldap:/// --- libraries/liblutil/ntservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblutil/ntservice.c b/libraries/liblutil/ntservice.c index f287a647cb..bf6d114b05 100644 --- a/libraries/liblutil/ntservice.c +++ b/libraries/liblutil/ntservice.c @@ -326,7 +326,7 @@ void LogSlapdStartedEvent( char *svc, int slap_debug, char *configfile, char *ur Inserts[i] = (char *)malloc( 20 ); itoa( slap_debug, Inserts[i++], 10 ); Inserts[i++] = ldap_pvt_strdup( configfile ); - Inserts[i++] = ldap_pvt_strdup( urls ); + Inserts[i++] = ldap_pvt_strdup( urls ? urls : "ldap:///" ); Inserts[i++] = ldap_pvt_strdup( is_NT_Service ? "svc" : "cmd" ); ReportEvent( hEventLog, EVENTLOG_INFORMATION_TYPE, 0, -- 2.39.5