]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit, don't touch logDB in tool mode at all.
authorHoward Chu <hyc@openldap.org>
Tue, 22 Nov 2005 09:09:52 +0000 (09:09 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 22 Nov 2005 09:09:52 +0000 (09:09 +0000)
servers/slapd/overlays/accesslog.c

index d9c1d7c7ccb10645a8fb169ea32c9d60ddedab41..422510d099fc92c05023375b43bbf5135442a88c 100644 (file)
@@ -1222,7 +1222,7 @@ accesslog_db_open(
        int rc;
        void *thrctx;
 
-       if ( slapMode & SLAP_TOOL_READMAIN )
+       if ( slapMode & SLAP_TOOL_MODE )
                return 0;
 
        thrctx = ldap_pvt_thread_pool_context();