mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
ITS#10170 accesslog: skip response if not fully initialized yet
This commit is contained in:
parent
635219325c
commit
af877238e9
1 changed files with 1 additions and 1 deletions
|
|
@ -1589,7 +1589,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