From: Pierangelo Masarati Date: Tue, 22 Jun 2004 08:40:53 +0000 (+0000) Subject: asserts contradict the comment above and are basically wrong X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~196 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=445067260e7eda4a56b0672fdc89fd49e8fd5939;p=openldap asserts contradict the comment above and are basically wrong --- diff --git a/servers/slapd/limits.c b/servers/slapd/limits.c index ef483183ff..ff4479ce03 100644 --- a/servers/slapd/limits.c +++ b/servers/slapd/limits.c @@ -1009,10 +1009,6 @@ limits_check( Operation *op, SlapReply *rs ) return 0; } - /* fail when at least one is set to a negative value... */ - assert( op->ors_tlimit >= 0 ); - assert( op->ors_slimit >= 0 ); - /* allow root to set no limit */ if ( be_isroot( op ) ) { op->ors_limit = NULL;