Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
85fc8974
Commit
85fc8974
authored
Apr 28, 2020
by
Quanah Gibson-Mount
Browse files
ITS#8650 - Fix Debug usage to follow RE24 format
parent
939527c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/tls2.c
View file @
85fc8974
...
...
@@ -907,8 +907,8 @@ ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv )
}
else
if
(
sb
->
sb_trans_needs_write
)
{
wr
=
1
;
}
Debug
1
(
LDAP_DEBUG_TRACE
,
"ldap_int_tls_start: ldap_int_tls_connect needs %s
\n
"
,
wr
?
"write"
:
"read"
);
Debug
(
LDAP_DEBUG_TRACE
,
"ldap_int_tls_start: ldap_int_tls_connect needs %s
\n
"
,
wr
?
"write"
:
"read"
,
0
,
0
);
/* This is mostly copied from result.c:wait4msg(), should
* probably be moved into a separate function */
...
...
@@ -946,7 +946,7 @@ ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv )
start_time_tv
.
tv_sec
=
curr_time_tv
.
tv_sec
;
start_time_tv
.
tv_usec
=
curr_time_tv
.
tv_usec
;
tv
=
tv0
;
Debug
3
(
LDAP_DEBUG_TRACE
,
"ldap_int_tls_start: ld %p %ld s %ld us to go
\n
"
,
Debug
(
LDAP_DEBUG_TRACE
,
"ldap_int_tls_start: ld %p %ld s %ld us to go
\n
"
,
(
void
*
)
ld
,
(
long
)
tv
.
tv_sec
,
(
long
)
tv
.
tv_usec
);
ret
=
ldap_int_poll
(
ld
,
sd
,
&
tv
,
wr
);
if
(
ret
<
0
)
{
...
...
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