From: Howard Chu Date: Sat, 25 Jun 2011 01:03:11 +0000 (-0700) Subject: ITS#6828 silence warning in prev commit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=052ac2f64af21056fb5dcb63a4897fc893fb281c;p=openldap ITS#6828 silence warning in prev commit --- diff --git a/libraries/libldap/open.c b/libraries/libldap/open.c index 06bbd9471b..d627e8323d 100644 --- a/libraries/libldap/open.c +++ b/libraries/libldap/open.c @@ -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 */