store LDAP_OPT_DIAGNOSTIC_MESSAGE in correct Attribute

This commit is contained in:
Ralf Haferkamp 2007-01-09 12:23:31 +00:00
parent 3042c57ac0
commit 69e3a58b2b

View File

@ -32,9 +32,9 @@ LDAPException::LDAPException(const LDAPAsynConnection *lc){
const char* err_string; const char* err_string;
ldap_get_option(l,LDAP_OPT_DIAGNOSTIC_MESSAGE,&err_string); ldap_get_option(l,LDAP_OPT_DIAGNOSTIC_MESSAGE,&err_string);
if ( err_string ) { if ( err_string ) {
m_res_string = string(err_string); m_err_string = string(err_string);
} else { } else {
m_res_string = ""; m_err_string = "";
} }
} }