mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
asserts contradict the comment above and are basically wrong
This commit is contained in:
parent
8b961ebdf0
commit
445067260e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user