Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
eb6dcbe2
Commit
eb6dcbe2
authored
Jun 21, 2004
by
Pierangelo Masarati
Browse files
fix ITS
#3196
; more to do
parent
5ff789e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/limits.c
View file @
eb6dcbe2
...
...
@@ -1102,7 +1102,12 @@ limits_check( Operation *op, SlapReply *rs )
}
if
(
pr_total
==
-
1
)
{
slimit
=
-
1
;
if
(
op
->
ors_slimit
==
0
||
op
->
ors_slimit
==
SLAP_MAX_LIMIT
)
{
slimit
=
-
1
;
}
else
{
slimit
=
op
->
ors_slimit
-
op
->
o_pagedresults_state
.
ps_count
;
}
}
else
if
(
pr_total
>
0
&&
op
->
ors_slimit
!=
SLAP_MAX_LIMIT
&&
(
op
->
ors_slimit
==
SLAP_NO_LIMIT
||
op
->
ors_slimit
>
pr_total
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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