Commit 90b29764 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#3707 changed SLAPD_FILTER_COMPUTED

parent 3bf22638
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment