]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Mon, 22 Aug 2005 10:46:57 +0000 (10:46 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 22 Aug 2005 10:46:57 +0000 (10:46 +0000)
servers/slapd/ad.c

index 1eec4b1f9d8cde38f67ffdadf891e79e717ed98b..e3c64a2445cc54f4cc96ead3b6851c0cd3bc2cb8 100644 (file)
@@ -738,7 +738,7 @@ int slap_bv2undef_ad(
                ldap_pvt_str2upper( desc->ad_cname.bv_val );
 
                /* shouldn't we protect this for concurrency? */
-               desc->ad_type = at;
+               desc->ad_type = slap_schema.si_at_undefined;
                ldap_pvt_thread_mutex_lock( &ad_undef_mutex );
                desc->ad_next = desc->ad_type->sat_ad;
                desc->ad_type->sat_ad = desc;