mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#5328 - cosmetic cleanup (0 -> LDAP_SUCCESS)
This commit is contained in:
parent
64bda128c6
commit
5b526d2544
@ -298,7 +298,7 @@ ldap_distproc_operational( Operation *op, SlapReply *rs )
|
||||
* database. This fix is likely to intercept also entries
|
||||
* generated by back-perl and so. */
|
||||
if ( rs->sr_entry->e_private == NULL ) {
|
||||
return 0;
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
return SLAP_CB_CONTINUE;
|
||||
|
@ -62,6 +62,6 @@ monitor_back_operational(
|
||||
ap = &(*ap)->a_next;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -431,7 +431,7 @@ relay_back_chk_referrals( Operation *op, SlapReply *rs )
|
||||
}
|
||||
}
|
||||
|
||||
return relay_back_op( op, rs, bd, bd->be_chk_referrals, 0 );
|
||||
return relay_back_op( op, rs, bd, bd->be_chk_referrals, LDAP_SUCCESS );
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -1830,7 +1830,7 @@ fe_aux_operational(
|
||||
SlapReply *rs )
|
||||
{
|
||||
Attribute **ap;
|
||||
int rc = 0;
|
||||
int rc = LDAP_SUCCESS;
|
||||
|
||||
for ( ap = &rs->sr_operational_attrs; *ap; ap = &(*ap)->a_next )
|
||||
/* just count them */ ;
|
||||
|
Loading…
Reference in New Issue
Block a user