]> git.sur5r.net Git - openldap/commitdiff
asserts contradict the comment above and are basically wrong
authorPierangelo Masarati <ando@openldap.org>
Tue, 22 Jun 2004 08:40:53 +0000 (08:40 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 22 Jun 2004 08:40:53 +0000 (08:40 +0000)
servers/slapd/limits.c

index ef483183fffff25bdd2976ada729fd5123243e7b..ff4479ce034c3751f42b539967ed845309f5cfc7 100644 (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;