]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Tue, 26 Dec 2006 11:34:33 +0000 (11:34 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 26 Dec 2006 11:34:33 +0000 (11:34 +0000)
servers/slapd/filter.c

index c1aa9acbc6be64323212048e0e46e02c9d0968c0..fd163e19ac1bf8ad6d955678bb31ee7090a611fb 100644 (file)
@@ -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: