From: Ralf Haferkamp Date: Mon, 15 Mar 2010 14:51:40 +0000 (+0000) Subject: be more verbose on StartTLS errors X-Git-Tag: MIGRATION_CVS2GIT~668 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5e9efb1720ead1ca4bdfd29d54e3e1966edecfce;p=openldap be more verbose on StartTLS errors --- diff --git a/contrib/ldapc++/src/LDAPAsynConnection.cpp b/contrib/ldapc++/src/LDAPAsynConnection.cpp index 638ba6ae8c..21242364e1 100644 --- a/contrib/ldapc++/src/LDAPAsynConnection.cpp +++ b/contrib/ldapc++/src/LDAPAsynConnection.cpp @@ -79,7 +79,7 @@ void LDAPAsynConnection::initialize(const std::string& uri){ void LDAPAsynConnection::start_tls(){ int ret = ldap_start_tls_s( cur_session, NULL, NULL ); if( ret != LDAP_SUCCESS ) { - throw LDAPException(ret); + throw LDAPException(this); } }