From: Pierangelo Masarati Date: Thu, 29 Aug 2002 10:45:48 +0000 (+0000) Subject: use appropriate attr list when matching value of operational attrs X-Git-Tag: NO_SLAP_OP_BLOCKS~1119 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f1eb3e39ec7af3c6338f02e767b5c9e3232cf720;p=openldap use appropriate attr list when matching value of operational attrs --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index ccc1de3083..bdba964126 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -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;