mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
ITS#7081 fix prev commit
This commit is contained in:
parent
3cbde28a71
commit
e438122448
1 changed files with 3 additions and 3 deletions
|
|
@ -2448,9 +2448,6 @@ pcache_response(
|
|||
if ( si->slimit > 0 && rs->sr_nentries >= si->slimit ) {
|
||||
si->slimit_exceeded = 1;
|
||||
}
|
||||
if ( si->slimit_exceeded ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* If we haven't exceeded the limit for this query,
|
||||
* build a chain of answers to store. If we hit the
|
||||
|
|
@ -2500,6 +2497,9 @@ over:;
|
|||
si->tail = NULL;
|
||||
}
|
||||
}
|
||||
if ( si->slimit_exceeded ) {
|
||||
return 0;
|
||||
}
|
||||
} else if ( rs->sr_type == REP_RESULT ) {
|
||||
|
||||
if ( si->count ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue