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
Robert Dubner
OpenLDAP
Commits
4eb1942f
Commit
4eb1942f
authored
Feb 05, 2021
by
Howard Chu
Committed by
Quanah Gibson-Mount
Feb 06, 2021
Browse files
Fixup debug msgs
parent
471fd551
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-asyncmeta/meta_result.c
View file @
4eb1942f
...
...
@@ -1013,13 +1013,13 @@ asyncmeta_handle_search_msg(LDAPMessage *res, a_metaconn_t *mc, bm_context_t *bc
if
(
candidates
[
i
].
sr_err
==
LDAP_SUCCESS
)
{
Debug
(
LDAP_DEBUG_TRACE
,
"%s asyncmeta_search_result[%d] "
"match=
\"
%s
\"
err=%ld"
,
"match=
\"
%s
\"
err=%ld
\n
"
,
op
->
o_log_prefix
,
i
,
candidates
[
i
].
sr_matched
?
candidates
[
i
].
sr_matched
:
""
,
(
long
)
candidates
[
i
].
sr_err
);
}
else
{
Debug
(
LDAP_DEBUG_ANY
,
"%s asyncmeta_search_result[%d] "
"match=
\"
%s
\"
err=%ld (%s)"
,
"match=
\"
%s
\"
err=%ld (%s)
\n
"
,
op
->
o_log_prefix
,
i
,
candidates
[
i
].
sr_matched
?
candidates
[
i
].
sr_matched
:
""
,
(
long
)
candidates
[
i
].
sr_err
,
ldap_err2string
(
candidates
[
i
].
sr_err
)
);
...
...
@@ -1382,8 +1382,8 @@ asyncmeta_op_read_error(a_metaconn_t *mc, int candidate, int error, void* ctx)
SlapReply
*
candidates
;
/* no outstanding ops, nothing to do but log */
Debug
(
LDAP_DEBUG_TRACE
,
"asyncmeta_op_read_error: ldr=%p
\n
"
,
mc
->
mc_conns
[
candidate
].
msc_ldr
);
"asyncmeta_op_read_error: ldr=%p
, err=%d
\n
"
,
mc
->
mc_conns
[
candidate
].
msc_ldr
,
error
);
ldap_pvt_thread_mutex_lock
(
&
mc
->
mc_om_mutex
);
/*someone may be trying to write */
...
...
Write
Preview
Markdown
is supported
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