From 052ac2f64af21056fb5dcb63a4897fc893fb281c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 24 Jun 2011 18:03:11 -0700 Subject: [PATCH] ITS#6828 silence warning in prev commit --- libraries/libldap/open.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.39.5