From a2dc5dd494c26fc6800afa33f76db8f605652ad0 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 26 Dec 2006 11:34:33 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/filter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.39.5