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
Joe Martin
OpenLDAP
Commits
e0c0da20
Commit
e0c0da20
authored
Apr 15, 2008
by
Quanah Gibson-Mount
Browse files
code cleanup: remove fake loop - vestige from 1.136, obsolete since 1.174
parent
1714d00a
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/search.c
View file @
e0c0da20
...
...
@@ -241,8 +241,7 @@ fe_op_search( Operation *op, SlapReply *rs )
{
BackendDB
*
bd
=
op
->
o_bd
;
/* fake while loop to allow breaking out */
while
(
op
->
ors_scope
==
LDAP_SCOPE_BASE
)
{
if
(
op
->
ors_scope
==
LDAP_SCOPE_BASE
)
{
Entry
*
entry
=
NULL
;
if
(
BER_BVISEMPTY
(
&
op
->
o_req_ndn
)
)
{
...
...
@@ -299,7 +298,6 @@ fe_op_search( Operation *op, SlapReply *rs )
send_ldap_result
(
op
,
rs
);
goto
return_results
;
}
break
;
}
if
(
BER_BVISEMPTY
(
&
op
->
o_req_ndn
)
&&
!
BER_BVISEMPTY
(
&
default_search_nbase
)
)
{
...
...
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