ITS#3707 changed SLAPD_FILTER_COMPUTED

This commit is contained in:
Howard Chu 2006-12-26 00:00:48 +00:00
parent 3bf226382e
commit 90b2976413

View File

@ -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;