]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPException.cpp
store LDAP_OPT_DIAGNOSTIC_MESSAGE in correct Attribute
[openldap] / contrib / ldapc++ / src / LDAPException.cpp
index 5be910bfefcce95c3106e45bd5fa698c068c2d4c..46fd2faba489c80c75fdf7d2f23fcb41d878d38d 100644 (file)
@@ -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 = "";
     }
 }