mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
ITS#10170 accesslog: skip response if not fully initialized yet
This commit is contained in:
parent
dfa5d8a710
commit
68cba1f476
1 changed files with 1 additions and 1 deletions
|
|
@ -1567,7 +1567,7 @@ accesslog_response(Operation *op, SlapReply *rs)
|
|||
lo = logops+logop+EN_OFFSET;
|
||||
|
||||
/* can't do anything if logDB isn't open */
|
||||
if ( !SLAP_DBOPEN( li->li_db ) ) {
|
||||
if ( !li->li_db || !SLAP_DBOPEN( li->li_db ) ) {
|
||||
goto skip;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue