Commit 9d440e3d authored by Howard Chu's avatar Howard Chu

ITS#8307 slapo-accesslog additional check

parent 85b68aa5
Pipeline #1345 passed with stage
in 29 minutes and 40 seconds
......@@ -2003,6 +2003,10 @@ accesslog_op_mod( Operation *op, SlapReply *rs )
if ( op->o_dont_replicate )
return SLAP_CB_CONTINUE;
/* can't do anything if logDB isn't open */
if ( !SLAP_DBOPEN( li->li_db ))
return SLAP_CB_CONTINUE;
logop = accesslog_op2logop( op );
lo = logops+logop+EN_OFFSET;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment