]> git.sur5r.net Git - openldap/commitdiff
ITS#3579 disable ldap_syslog earlier.
authorHoward Chu <hyc@openldap.org>
Fri, 4 Mar 2005 04:32:43 +0000 (04:32 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 4 Mar 2005 04:32:43 +0000 (04:32 +0000)
servers/slapd/slapcommon.c

index 56c2b613c1bba25eb24bc9a94b3fa2f687d276d5..9aa87ea91abb71922d90a52ff5a2e9c6ac2cf305 100644 (file)
@@ -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: