Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
98265998
Commit
98265998
authored
Feb 19, 2009
by
Quanah Gibson-Mount
Browse files
Final bits for ITS#5927
parent
c16647bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/pcache.c
View file @
98265998
...
...
@@ -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
;
}
...
...
@@ -2460,7 +2460,7 @@ pcache_op_search(
si
->
slimit
=
0
;
si
->
slimit_exceeded
=
0
;
si
->
caching_reason
=
PC_IGNORE
;
if
(
op
->
ors_slimit
&&
op
->
ors_slimit
<
cm
->
num_entries_limit
)
{
if
(
op
->
ors_slimit
>
0
&&
op
->
ors_slimit
<
cm
->
num_entries_limit
)
{
si
->
slimit
=
op
->
ors_slimit
;
op
->
ors_slimit
=
cm
->
num_entries_limit
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment