From: Howard Chu Date: Tue, 15 Aug 2006 00:04:29 +0000 (+0000) Subject: Additional shutdown check X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4629002ec45cbf6c8628994fe7373b960af1ee27;p=openldap Additional shutdown check --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index a11b205c84..16400140d6 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -504,6 +504,8 @@ log_old_lookup( Operation *op, SlapReply *rs ) if ( rs->sr_type != REP_SEARCH) return 0; + if ( slapd_shutdown ) return 0; + if ( pd->used >= pd->slots ) { pd->slots += PURGE_INCREMENT; pd->dn = ch_realloc( pd->dn, pd->slots * sizeof( struct berval ));