From 5e9efb1720ead1ca4bdfd29d54e3e1966edecfce Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Mon, 15 Mar 2010 14:51:40 +0000 Subject: [PATCH] be more verbose on StartTLS errors --- contrib/ldapc++/src/LDAPAsynConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.5