mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
ITS#6828 silence warning in prev commit
This commit is contained in:
parent
d76be4828c
commit
052ac2f64a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue