Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
7bdf930f
Commit
7bdf930f
authored
Jun 24, 2011
by
Howard Chu
Browse files
ITS#6828 silence warning in prev commit
parent
7080b68f
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/open.c
View file @
7bdf930f
...
...
@@ -429,8 +429,8 @@ ldap_int_open_connection(
#endif
#ifdef HAVE_TLS
if
(
rc
==
0
&&
ld
->
ld_options
.
ldo_tls_mode
==
LDAP_OPT_X_TLS_HARD
||
strcmp
(
srv
->
lud_scheme
,
"ldaps"
)
==
0
)
if
(
rc
==
0
&&
(
ld
->
ld_options
.
ldo_tls_mode
==
LDAP_OPT_X_TLS_HARD
||
strcmp
(
srv
->
lud_scheme
,
"ldaps"
)
==
0
)
)
{
++
conn
->
lconn_refcnt
;
/* avoid premature free */
...
...
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