From: Ralf Haferkamp Date: Tue, 9 Jan 2007 12:23:31 +0000 (+0000) Subject: store LDAP_OPT_DIAGNOSTIC_MESSAGE in correct Attribute X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~229 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=69e3a58b2bf22c3d9bf2f1a8f8354902f14f3066;p=openldap store LDAP_OPT_DIAGNOSTIC_MESSAGE in correct Attribute --- diff --git a/contrib/ldapc++/src/LDAPException.cpp b/contrib/ldapc++/src/LDAPException.cpp index 5be910bfef..46fd2faba4 100644 --- a/contrib/ldapc++/src/LDAPException.cpp +++ b/contrib/ldapc++/src/LDAPException.cpp @@ -32,9 +32,9 @@ LDAPException::LDAPException(const LDAPAsynConnection *lc){ const char* err_string; ldap_get_option(l,LDAP_OPT_DIAGNOSTIC_MESSAGE,&err_string); if ( err_string ) { - m_res_string = string(err_string); + m_err_string = string(err_string); } else { - m_res_string = ""; + m_err_string = ""; } }