]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorPierangelo Masarati <ando@openldap.org>
Mon, 27 Jan 2003 16:48:55 +0000 (16:48 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 27 Jan 2003 16:48:55 +0000 (16:48 +0000)
servers/slapd/back-ldap/add.c

index 0795212ee2ba774183c5bfbdee282a7b81586d78..f17451ad7aeb902dc45ccbc7ef8b8ee0855004da 100644 (file)
@@ -140,7 +140,7 @@ ldap_back_add(
 
                ldap_back_map(&li->at_map, &a->a_desc->ad_cname, &mapped,
                                BACKLDAP_MAP);
-               if (mapped.bv_val == NULL) {
+               if (mapped.bv_val == NULL || mapped.bv_val[0] == '\0') {
                        continue;
                }