ITS#6828 silence warning in prev commit

This commit is contained in:
Howard Chu 2011-06-24 18:03:11 -07:00
parent d76be4828c
commit 052ac2f64a

View file

@ -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 */