mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 22:33:07 -05:00
store LDAP_OPT_DIAGNOSTIC_MESSAGE in correct Attribute
This commit is contained in:
parent
3042c57ac0
commit
69e3a58b2b
1 changed files with 2 additions and 2 deletions
|
|
@ -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 = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue