From: Pierangelo Masarati Date: Fri, 4 Jan 2002 18:03:43 +0000 (+0000) Subject: fix attribute mapping bug X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~294 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cdc1e149caffb1044e6a9ac93b3193cb97769299;p=openldap fix attribute mapping bug --- 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;