Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
0b705350
Commit
0b705350
authored
Jul 05, 2017
by
Quanah Gibson-Mount
Browse files
ITS#8583 - Fix C++ LDAP Control structure
parent
36839b3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/ldapc++/src/LDAPControl.cpp
View file @
0b705350
...
...
@@ -39,8 +39,9 @@ LDAPCtrl::LDAPCtrl(const string& oid, bool critical, const string& data){
LDAPCtrl
::
LDAPCtrl
(
const
LDAPControl
*
ctrl
){
DEBUG
(
LDAP_DEBUG_CONSTRUCT
,
"LDAPCtrl::LDAPCtrl()"
<<
endl
);
m_oid
=
string
(
ctrl
->
ldctl_oid
);
m_oid
=
ctrl
->
ldctl_iscritical
?
true
:
false
;
m_oid
=
string
(
ctrl
->
ldctl_value
.
bv_val
,
ctrl
->
ldctl_value
.
bv_len
);
m_isCritical
=
ctrl
->
ldctl_iscritical
?
true
:
false
;
m_data
=
string
(
ctrl
->
ldctl_value
.
bv_val
,
ctrl
->
ldctl_value
.
bv_len
);
m_noData
=
ctrl
->
ldctl_value
.
bv_len
?
false
:
true
;
}
LDAPCtrl
::~
LDAPCtrl
(){
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment