mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 07:30:57 -05:00
be more verbose on StartTLS errors
This commit is contained in:
parent
7cec659d74
commit
5e9efb1720
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ void LDAPAsynConnection::initialize(const std::string& uri){
|
||||||
void LDAPAsynConnection::start_tls(){
|
void LDAPAsynConnection::start_tls(){
|
||||||
int ret = ldap_start_tls_s( cur_session, NULL, NULL );
|
int ret = ldap_start_tls_s( cur_session, NULL, NULL );
|
||||||
if( ret != LDAP_SUCCESS ) {
|
if( ret != LDAP_SUCCESS ) {
|
||||||
throw LDAPException(ret);
|
throw LDAPException(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue