]> git.sur5r.net Git - openldap/commitdiff
ITS#6828 silence warning in prev commit
authorHoward Chu <hyc@openldap.org>
Sat, 25 Jun 2011 01:03:11 +0000 (18:03 -0700)
committerHoward Chu <hyc@openldap.org>
Sat, 25 Jun 2011 01:03:11 +0000 (18:03 -0700)
libraries/libldap/open.c

index 06bbd9471b3ec2d4ab59f57f09637b7118046aa3..d627e8323dd3fb82e424c8a39c1dbe279e25665e 100644 (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 */