From c160e0d349eb2c08d6ef5de2b546ce0b8a989f17 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 4 Mar 2005 04:32:43 +0000 Subject: [PATCH] ITS#3579 disable ldap_syslog earlier. --- servers/slapd/slapcommon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index 56c2b613c1..9aa87ea91a 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -289,6 +289,8 @@ slap_tool_init( break; } + ldap_syslog = 0; + if ( ldiffile == NULL ) { ldiffp = tool == SLAPCAT ? stdout : stdin; @@ -342,7 +344,6 @@ slap_tool_init( } at_oc_cache = 1; - ldap_syslog = 0; switch ( tool ) { case SLAPADD: -- 2.39.5