mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
fixed LDAPCtrl constructor when using char*
This commit is contained in:
parent
9b463b59ec
commit
28adb589f2
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ LDAPCtrl::LDAPCtrl(const char *oid, bool critical, const char* data,
|
|||
m_isCritical=critical;
|
||||
if (data != 0 && length !=0){
|
||||
m_data.assign(data,length);
|
||||
m_noData=false;
|
||||
}else{
|
||||
m_data=string();
|
||||
m_noData=true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue