From: Howard Chu Date: Tue, 26 Dec 2006 11:34:33 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~304 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2dc5dd494c26fc6800afa33f76db8f605652ad0;p=openldap Fix prev commit --- diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index c1aa9acbc6..fd163e19ac 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -1170,13 +1170,14 @@ simple_vrFilter2bv( Operation *op, ValuesReturnFilter *vrf, struct berval *fstr { struct berval tmp; ber_len_t len; + int undef; if ( vrf == NULL ) { ber_str2bv_x( "No filter!", STRLENOF("No filter!"), 1, fstr, op->o_tmpmemctx ); return; } - int undef = vrf->vrf_choice & SLAPD_FILTER_UNDEFINED; + undef = vrf->vrf_choice & SLAPD_FILTER_UNDEFINED; switch ( vrf->vrf_choice & SLAPD_FILTER_MASK ) { case LDAP_FILTER_EQUALITY: