From: Hallvard Furuseth Date: Mon, 11 Feb 2008 21:07:25 +0000 (+0000) Subject: ITS#5328 - cosmetic cleanup (0 -> LDAP_SUCCESS) X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~162 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5b526d2544c512f0a7233439efa53dcc5dc02672;p=openldap ITS#5328 - cosmetic cleanup (0 -> LDAP_SUCCESS) --- diff --git a/servers/slapd/back-ldap/distproc.c b/servers/slapd/back-ldap/distproc.c index 77b31d3d1b..9341168243 100644 --- a/servers/slapd/back-ldap/distproc.c +++ b/servers/slapd/back-ldap/distproc.c @@ -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; diff --git a/servers/slapd/back-monitor/operational.c b/servers/slapd/back-monitor/operational.c index c801f82bf9..0b5542ea05 100644 --- a/servers/slapd/back-monitor/operational.c +++ b/servers/slapd/back-monitor/operational.c @@ -62,6 +62,6 @@ monitor_back_operational( ap = &(*ap)->a_next; } - return 0; + return LDAP_SUCCESS; } diff --git a/servers/slapd/back-relay/op.c b/servers/slapd/back-relay/op.c index 7c453af925..dd0189b18b 100644 --- a/servers/slapd/back-relay/op.c +++ b/servers/slapd/back-relay/op.c @@ -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 diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 7d6884a848..b36b65c3d1 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -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 */ ;