From 4629002ec45cbf6c8628994fe7373b960af1ee27 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 15 Aug 2006 00:04:29 +0000 Subject: [PATCH] Additional shutdown check --- servers/slapd/overlays/accesslog.c | 2 ++ 1 file changed, 2 insertions(+) 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 )); -- 2.39.5