]> git.sur5r.net Git - openldap/commitdiff
be more verbose on StartTLS errors
authorRalf Haferkamp <ralf@openldap.org>
Mon, 15 Mar 2010 14:51:40 +0000 (14:51 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Mon, 15 Mar 2010 14:51:40 +0000 (14:51 +0000)
contrib/ldapc++/src/LDAPAsynConnection.cpp

index 638ba6ae8c0cf581723d2d02afc061c552717df5..21242364e144a672bf16f4bdcf53bcd0691085a4 100644 (file)
@@ -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);
     }
 }