From: Howard Chu Date: Fri, 17 Dec 2004 09:48:26 +0000 (+0000) Subject: Revert previous, unnecessary X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2a1ffb05df6270d67faa7f4e314a0c01584049c;p=openldap Revert previous, unnecessary --- diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index 688e726607..76e470efe6 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -523,8 +523,6 @@ int get_ctrls( c->ldctl_iscritical = (crit != 0); tag = ber_peek_tag( ber, &len ); - } else { - c->ldctl_iscritical = 0; } if( tag == LBER_OCTETSTRING ) { @@ -541,8 +539,6 @@ int get_ctrls( rs->sr_text = "decoding controls error"; goto return_results; } - } else { - BER_BVZERO( &c->ldctl_value ); } Debug( LDAP_DEBUG_TRACE,