From: Kurt Zeilenga Date: Tue, 6 May 2003 15:00:58 +0000 (+0000) Subject: Fix typo in last commit X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~163 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2ed0725491489e9a74d9e07d69ed4208937db69a;p=openldap Fix typo in last commit --- diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index 6ce60d3bd7..3786c19da9 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -1720,7 +1720,7 @@ ldap_start_tls_s ( LDAP *ld, ber_bvfree( rspdata ); } - if ( rc != LDAP_SUCCESS ) { + if ( rc == LDAP_SUCCESS ) { rc = ldap_int_tls_start( ld, ld->ld_defconn, NULL ); }