]> git.sur5r.net Git - openldap/commitdiff
use appropriate attr list when matching value of operational attrs
authorPierangelo Masarati <ando@openldap.org>
Thu, 29 Aug 2002 10:45:48 +0000 (10:45 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 29 Aug 2002 10:45:48 +0000 (10:45 +0000)
servers/slapd/result.c

index ccc1de308336c816201a3ada61da4c65b11bc830..bdba964126fff98737750547d8e89015d2037d8c 100644 (file)
@@ -928,7 +928,7 @@ send_search_entry(
                }
                e_flags = ch_calloc ( 1, i * sizeof(char *) + k );
                a_flags = (char *)(e_flags + i);
-               for ( a = e->e_attrs, i=0; a != NULL; a = a->a_next, i++ ) {
+               for ( a = aa, i=0; a != NULL; a = a->a_next, i++ ) {
                        for ( j = 0; a->a_vals[j].bv_val != NULL; j++ );
                        e_flags[i] = a_flags;
                        a_flags += j;