]> git.sur5r.net Git - openldap/commitdiff
make sure filter is applied to final entry (ITS#6255)
authorPierangelo Masarati <ando@openldap.org>
Fri, 14 Aug 2009 00:14:35 +0000 (00:14 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 14 Aug 2009 00:14:35 +0000 (00:14 +0000)
servers/slapd/overlays/translucent.c

index 6641de2838b75a7a14fd59626a053d2625484c11..173526c555baf8dd969115bba74445d34bd99305 100644 (file)
@@ -870,6 +870,7 @@ static int translucent_search_cb(Operation *op, SlapReply *rs) {
                for(ax = le->e_attrs; ax; ax = ax->a_next) {
                        for(a = re->e_attrs; a; a = a->a_next) {
                                if(a->a_desc == ax->a_desc) {
+                                       test_f = 1;
                                        if(a->a_vals != a->a_nvals)
                                                ber_bvarray_free(a->a_nvals);
                                        ber_bvarray_free(a->a_vals);