]> git.sur5r.net Git - openldap/commitdiff
Add Ken McGarrahan's LE/GE fix.
authorKurt Zeilenga <kurt@openldap.org>
Sun, 25 Oct 1998 18:40:10 +0000 (18:40 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 25 Oct 1998 18:40:10 +0000 (18:40 +0000)
servers/slapd/filterentry.c

index ac0a943d02e4d7b58d5ed811a8ef0c569e157c28..5d1459ca94ead522b88bc3b0c7be431996264b62 100644 (file)
@@ -139,13 +139,13 @@ test_ava_filter(
                        break;
 
                case LDAP_FILTER_GE:
-                       if ( rc > 0 ) {
+                       if ( rc >= 0 ) {
                                return( 0 );
                        }
                        break;
 
                case LDAP_FILTER_LE:
-                       if ( rc < 0 ) {
+                       if ( rc <= 0 ) {
                                return( 0 );
                        }
                        break;