Commit 38b430be authored by Howard Chu's avatar Howard Chu
Browse files

Fix prev commit

parent d3ced75f
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment