asserts contradict the comment above and are basically wrong

This commit is contained in:
Pierangelo Masarati 2004-06-22 08:40:53 +00:00
parent 8b961ebdf0
commit 445067260e

View File

@ -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;