mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
store LDAP_OPT_DIAGNOSTIC_MESSAGE in correct Attribute
This commit is contained in:
parent
3042c57ac0
commit
69e3a58b2b
@ -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 New Issue
Block a user