mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-12 15:10:31 +08:00
ITS#10170 accesslog: skip response if not fully initialized yet
This commit is contained in:
parent
dfa5d8a710
commit
68cba1f476
@ -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…
x
Reference in New Issue
Block a user