mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 22:20:28 -05:00
Fix prev commit
This commit is contained in:
parent
d3ced75fe7
commit
38b430be3c
1 changed files with 2 additions and 2 deletions
|
|
@ -354,8 +354,8 @@ slap_find_control_id(
|
|||
int *cid )
|
||||
{
|
||||
slap_control *ctrl = find_ctrl( oid );
|
||||
if ( ctrl && cid ) {
|
||||
*cid = ctrl->sc_cid;
|
||||
if ( ctrl ) {
|
||||
if ( cid ) *cid = ctrl->sc_cid;
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
return LDAP_CONTROL_NOT_FOUND;
|
||||
|
|
|
|||
Loading…
Reference in a new issue