mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix prev commit
This commit is contained in:
parent
d3ced75fe7
commit
38b430be3c
@ -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 New Issue
Block a user