From 7972ebe66f02f4c288079f7ae9cd184d5e9d4002 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 7 Apr 2003 11:49:40 +0000 Subject: [PATCH] Fix freeval check --- servers/slapd/back-ldap/compare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-ldap/compare.c b/servers/slapd/back-ldap/compare.c index 3d8230386d..485929dbcf 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 { + } else if (mapped_val.bv_val != op->orc_ava->aa_value) { freeval = 1; } } -- 2.39.5