]> git.sur5r.net Git - openldap/commitdiff
ITS#5328 - cosmetic cleanup (0 -> LDAP_SUCCESS)
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 11 Feb 2008 21:07:25 +0000 (21:07 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 11 Feb 2008 21:07:25 +0000 (21:07 +0000)
servers/slapd/back-ldap/distproc.c
servers/slapd/back-monitor/operational.c
servers/slapd/back-relay/op.c
servers/slapd/backend.c

index 77b31d3d1b5c7c28368ed2616c8c56411cf014fa..93411682436580258e8e3047575041e96fcd70bf 100644 (file)
@@ -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;
index c801f82bf95c6d6b6caa65f1edb41d3350498926..0b5542ea05db78d9f82de610522c12051f2517e6 100644 (file)
@@ -62,6 +62,6 @@ monitor_back_operational(
                ap = &(*ap)->a_next;
        }
        
-       return 0;
+       return LDAP_SUCCESS;
 }
 
index 7c453af925bdbbfcdbec5a1b75f1109ab9a5319b..dd0189b18b79bd0e0dbc21dab84c98b67eae021c 100644 (file)
@@ -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
index 7d6884a848d82f2d34343de09b677c7c77b14018..b36b65c3d1030cefeb69d3c5157580914f744089 100644 (file)
@@ -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 */ ;