]> git.sur5r.net Git - openldap/commitdiff
Fix typo in last commit
authorKurt Zeilenga <kurt@openldap.org>
Tue, 6 May 2003 15:00:58 +0000 (15:00 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 6 May 2003 15:00:58 +0000 (15:00 +0000)
libraries/libldap/tls.c

index 6ce60d3bd79ce2c39e72bb5ec148124e4c54675e..3786c19da93ade3f63ab7e44f756e47cb8f564a5 100644 (file)
@@ -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 );
        }