mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix spurious sizelimit exceeded err
This commit is contained in:
parent
a692e8ad74
commit
55d77a7a95
@ -1976,7 +1976,7 @@ pcache_op_cleanup( Operation *op, SlapReply *rs ) {
|
||||
Entry *e;
|
||||
|
||||
/* don't return more entries than requested by the client */
|
||||
if ( si->slimit && rs->sr_nentries >= si->slimit ) {
|
||||
if ( si->slimit > 0 && rs->sr_nentries >= si->slimit ) {
|
||||
si->slimit_exceeded = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user