From cdc1e149caffb1044e6a9ac93b3193cb97769299 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 4 Jan 2002 18:03:43 +0000 Subject: [PATCH] fix attribute mapping bug --- servers/slapd/back-ldap/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-ldap/map.c b/servers/slapd/back-ldap/map.c index de07038577..888b61df4a 100644 --- a/servers/slapd/back-ldap/map.c +++ b/servers/slapd/back-ldap/map.c @@ -229,7 +229,7 @@ ldap_back_map_attrs( if (na == NULL) return(NULL); - for (i = 0; an[i].an_name.bv_val; i++) { + for (i = 0; an[i].an_name.bv_val; ) { ldap_back_map(at_map, &an[i].an_name, &mapped, remap); if (mapped.bv_val != NULL) { na[i] = mapped.bv_val; -- 2.39.5