]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 19 Feb 2009 00:46:02 +0000 (00:46 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 19 Feb 2009 00:46:02 +0000 (00:46 +0000)
servers/slapd/overlays/pcache.c

index adf98104fce3980f88273fe47b4ea972ffb170f2..f3cc1df54de1fff0bfa599d9a480eafeb2a455b2 100644 (file)
@@ -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",