From: Kurt Zeilenga Date: Sun, 25 Oct 1998 18:40:10 +0000 (+0000) Subject: Add Ken McGarrahan's LE/GE fix. X-Git-Tag: PHP3_TOOL_0_0~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cf50d9436cab84780a671dec2228b847dc03ef74;p=openldap Add Ken McGarrahan's LE/GE fix. --- diff --git a/servers/slapd/filterentry.c b/servers/slapd/filterentry.c index ac0a943d02..5d1459ca94 100644 --- a/servers/slapd/filterentry.c +++ b/servers/slapd/filterentry.c @@ -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;