From c16647bdef89ce1128a521044f4d7dcfad691aa0 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount <quanah@openldap.org> Date: Thu, 19 Feb 2009 00:46:02 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/overlays/pcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index adf98104fc..f3cc1df54d 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", -- GitLab