]> git.sur5r.net Git - openldap/commitdiff
ITS#2015 give correct index key back to presence_candidates
authorHoward Chu <hyc@openldap.org>
Thu, 8 Aug 2002 17:27:50 +0000 (17:27 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 8 Aug 2002 17:27:50 +0000 (17:27 +0000)
servers/slapd/back-bdb/index.c

index 907b0589026509316ede79c6f40a47abab878b09..5a7b2a49b0fb135bc0a8c56ba5c58d6b0b92400f 100644 (file)
@@ -112,6 +112,7 @@ int bdb_index_param(
        switch( ftype ) {
        case LDAP_FILTER_PRESENT:
                if( IS_SLAP_INDEX( mask, SLAP_INDEX_PRESENT ) ) {
+                       *prefixp = presence_key;
                        goto done;
                }
                break;