From 69e3a58b2bf22c3d9bf2f1a8f8354902f14f3066 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Tue, 9 Jan 2007 12:23:31 +0000 Subject: [PATCH] store LDAP_OPT_DIAGNOSTIC_MESSAGE in correct Attribute --- contrib/ldapc++/src/LDAPException.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = ""; } } -- 2.39.5