From 445067260e7eda4a56b0672fdc89fd49e8fd5939 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 22 Jun 2004 08:40:53 +0000 Subject: [PATCH] asserts contradict the comment above and are basically wrong --- servers/slapd/limits.c | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.39.5