From: Howard Chu Date: Mon, 7 Apr 2003 11:50:15 +0000 (+0000) Subject: Fix prev X-Git-Tag: AUTOCONF_2_57~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8ef3bbb174646249e8ed0839d39e98518359607d;p=openldap Fix prev --- diff --git a/servers/slapd/back-ldap/compare.c b/servers/slapd/back-ldap/compare.c index 485929dbcf..dd0b0cf227 100644 --- a/servers/slapd/back-ldap/compare.c +++ b/servers/slapd/back-ldap/compare.c @@ -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; } }