From: Pierangelo Masarati Date: Mon, 22 Aug 2005 10:46:57 +0000 (+0000) Subject: fix previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~618 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=65f07479ac0bcc22f0a17c6adeeccfdb7354fc29;p=openldap fix previous commit --- diff --git a/servers/slapd/ad.c b/servers/slapd/ad.c index 1eec4b1f9d..e3c64a2445 100644 --- a/servers/slapd/ad.c +++ b/servers/slapd/ad.c @@ -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;