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
37e58bc3
Commit
37e58bc3
authored
Oct 18, 2007
by
Quanah Gibson-Mount
Browse files
Cleanup debug calls
parent
00dc402f
Changes
2
Hide whitespace changes
Inline
Side-by-side
libraries/liblber/decode.c
View file @
37e58bc3
...
...
@@ -780,9 +780,11 @@ ber_scanf ( BerElement *ber,
fmt_reset
=
fmt
;
ber_log_printf
(
LDAP_DEBUG_TRACE
,
ber
->
ber_debug
,
"ber_scanf fmt (%s) ber:
\n
"
,
fmt
);
ber_log_dump
(
LDAP_DEBUG_BER
,
ber
->
ber_debug
,
ber
,
1
);
if
(
ber
->
ber_debug
&
(
LDAP_DEBUG_TRACE
|
LDAP_DEBUG_BER
))
{
ber_log_printf
(
LDAP_DEBUG_TRACE
,
ber
->
ber_debug
,
"ber_scanf fmt (%s) ber:
\n
"
,
fmt
);
ber_log_dump
(
LDAP_DEBUG_BER
,
ber
->
ber_debug
,
ber
,
1
);
}
for
(
rc
=
0
;
*
fmt
&&
rc
!=
LBER_DEFAULT
;
fmt
++
)
{
/* When this is modified, remember to update
...
...
libraries/liblber/io.c
View file @
37e58bc3
...
...
@@ -488,8 +488,10 @@ ber_get_next(
assert
(
SOCKBUF_VALID
(
sb
)
);
assert
(
LBER_VALID
(
ber
)
);
ber_log_printf
(
LDAP_DEBUG_TRACE
,
ber
->
ber_debug
,
"ber_get_next
\n
"
);
if
(
ber
->
ber_debug
&
LDAP_DEBUG_TRACE
)
{
ber_log_printf
(
LDAP_DEBUG_TRACE
,
ber
->
ber_debug
,
"ber_get_next
\n
"
);
}
/*
* Any ber element looks like this: tag length contents.
...
...
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