Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
39b20e2e
Commit
39b20e2e
authored
Nov 28, 2004
by
Kurt Zeilenga
Browse files
cleanup
parent
870cc69c
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/result.c
View file @
39b20e2e
...
...
@@ -671,15 +671,18 @@ Debug( LDAP_DEBUG_TRACE,
/* Check if all requests are finished, lr is now parent */
tmplr
=
lr
;
if
(
tmplr
->
lr_status
==
LDAP_REQST_COMPLETED
)
{
for
(
tmplr
=
lr
->
lr_child
;
tmplr
!=
NULL
;
tmplr
=
tmplr
->
lr_refnext
)
{
if
(
tmplr
->
lr_status
!=
LDAP_REQST_COMPLETED
)
{
break
;
}
for
(
tmplr
=
lr
->
lr_child
;
tmplr
!=
NULL
;
tmplr
=
tmplr
->
lr_refnext
)
{
if
(
tmplr
->
lr_status
!=
LDAP_REQST_COMPLETED
)
break
;
}
}
/* This is the parent request if the request has referrals */
if
(
lr
->
lr_outrefcnt
<=
0
&&
lr
->
lr_parent
==
NULL
&&
tmplr
==
NULL
)
{
if
(
lr
->
lr_outrefcnt
<=
0
&&
lr
->
lr_parent
==
NULL
&&
tmplr
==
NULL
)
{
id
=
lr
->
lr_msgid
;
tag
=
lr
->
lr_res_msgtype
;
Debug
(
LDAP_DEBUG_ANY
,
"request %ld done
\n
"
,
...
...
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