From: Howard Chu Date: Thu, 19 Feb 2009 00:41:39 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: ACLCHECK_0~806 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a692e8ad74ea9dea86cb4acc52327b27f2a4f06e;p=openldap Fix prev commit --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 141cc20a7a..5f3ce24004 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1995,7 +1995,7 @@ pcache_op_cleanup( Operation *op, SlapReply *rs ) { /* check for malformed entries: attrs with no values */ { - Attribute *a = e->e_attrs; + Attribute *a = rs->sr_entry->e_attrs; for (; a; a=a->a_next) { if ( !a->a_numvals ) { Debug( pcache_debug, "%s: query not cacheable because of attrs without values in DN \"%s\" (%s)\n",