From: Howard Chu Date: Tue, 26 Dec 2006 00:00:48 +0000 (+0000) Subject: ITS#3707 changed SLAPD_FILTER_COMPUTED X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~307 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=90b2976413b37b37236191a4f7fd1e8622b0284d;p=openldap ITS#3707 changed SLAPD_FILTER_COMPUTED --- diff --git a/servers/slapd/overlays/rwmmap.c b/servers/slapd/overlays/rwmmap.c index ed30211df1..2554bc04e7 100644 --- a/servers/slapd/overlays/rwmmap.c +++ b/servers/slapd/overlays/rwmmap.c @@ -479,7 +479,7 @@ rwm_int_filter_map_rewrite( return LDAP_OTHER; } - switch ( f->f_choice ) { + switch ( f->f_choice & SLAPD_FILTER_MASK ) { case LDAP_FILTER_EQUALITY: ad = f->f_av_desc; if ( map_attr_value( dc, &ad, &atmp, @@ -688,7 +688,7 @@ rwm_int_filter_map_rewrite( break; } - case 0: + case -1: computed:; filter_free_x( op, f ); f->f_choice = SLAPD_FILTER_COMPUTED;