From: Kurt Zeilenga Date: Sat, 31 Aug 2002 19:17:54 +0000 (+0000) Subject: Fix last commit. X-Git-Tag: NO_SLAP_OP_BLOCKS~1055 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d6ac7ac544a9f9b36cf555cb4620609a6dd51f95;p=openldap Fix last commit. Also add uses where mr is the attribute's equality rule. --- diff --git a/servers/slapd/mr.c b/servers/slapd/mr.c index 7c73be6214..ed86a183d3 100644 --- a/servers/slapd/mr.c +++ b/servers/slapd/mr.c @@ -355,7 +355,9 @@ matching_rule_use_init( void ) at = NULL; for ( at_start( &at ); at; at_next( &at ) ) { - if( mr->smr_syntax == at->sat_syntax ) { + if( mr->smr_syntax == at->sat_syntax || + mr == at->sat_equality ) + { ldap_charray_add( &applies_oids, at->sat_cname.bv_val ); } }