From: Howard Chu Date: Tue, 22 Nov 2005 09:09:52 +0000 (+0000) Subject: Fix prev commit, don't touch logDB in tool mode at all. X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~749 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d0b70826d45620e3f235a2ea0721fd3b6f7597e7;p=openldap Fix prev commit, don't touch logDB in tool mode at all. --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index d9c1d7c7cc..422510d099 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -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();