]> git.sur5r.net Git - openldap/commitdiff
Fix prev
authorHoward Chu <hyc@openldap.org>
Mon, 7 Apr 2003 11:50:15 +0000 (11:50 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 7 Apr 2003 11:50:15 +0000 (11:50 +0000)
servers/slapd/back-ldap/compare.c

index 485929dbcfbb69bd384598b936544b1c996bc484..dd0b0cf227807bdb709dad7fd9afdccecf2b8f04 100644 (file)
@@ -100,7 +100,7 @@ ldap_back_compare(
                        ldap_back_dn_massage( &dc, &op->orc_ava->aa_value, &mapped_val );
                        if (mapped_val.bv_val == NULL || mapped_val.bv_val[0] == '\0') {
                                mapped_val = op->orc_ava->aa_value;
-                       } else if (mapped_val.bv_val != op->orc_ava->aa_value) {
+                       } else if (mapped_val.bv_val != op->orc_ava->aa_value.bv_val) {
                                freeval = 1;
                        }
                }