]> git.sur5r.net Git - openldap/commitdiff
noop commit: cleanup 0 -> REP_RESULT in SlapReply
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 31 Dec 2010 14:08:34 +0000 (14:08 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 31 Dec 2010 14:08:34 +0000 (14:08 +0000)
servers/slapd/back-ldap/chain.c
servers/slapd/back-meta/conn.c
servers/slapd/back-monitor/init.c
servers/slapd/back-sql/delete.c
servers/slapd/back-sql/search.c
servers/slapd/syncrepl.c

index 2334c11052dde4871a03aa032f0c9d5558384c7e..55d429f47437fe599634a5fedbca30a204a8ffc6 100644 (file)
@@ -682,7 +682,7 @@ ldap_chain_search(
         * to be set once for all (correct?) */
        li.li_bvuri = bvuri;
        for ( ; !BER_BVISNULL( &ref[0] ); ref++ ) {
-               SlapReply       rs2 = { 0 };
+               SlapReply       rs2 = { REP_RESULT };
                LDAPURLDesc     *srv;
                req_search_s    save_oq_search = op->oq_search,
                                tmp_oq_search = { 0 };
index 7d7cc92507108e7a0c9b3f5f0e42a0e44a3aaefa..46f31a8e5715ef2dcb396de36fbb00d2d847d1b6 100644 (file)
@@ -908,7 +908,7 @@ meta_back_get_candidate(
 
        } else if ( candidate == META_TARGET_MULTIPLE ) {
                Operation       op2 = *op;
-               SlapReply       rs2 = { 0 };
+               SlapReply       rs2 = { REP_RESULT };
                slap_callback   cb2 = { 0 };
                int             rc;
 
@@ -1891,4 +1891,3 @@ meta_back_quarantine(
 done:;
        ldap_pvt_thread_mutex_unlock( &mt->mt_quarantine_mutex );
 }
-
index 1648cbe1bb6677fc2e05a48b2462b837101ae3cf..ffe2d721c632b75b3300c1c6ff26343c102a47a3 100644 (file)
@@ -830,7 +830,7 @@ monitor_search2ndn(
        OperationBuffer opbuf;
        Operation       *op;
        void    *thrctx;
-       SlapReply       rs = { 0 };
+       SlapReply       rs = { REP_RESULT };
        slap_callback   cb = { NULL, monitor_search2ndn_cb, NULL, NULL };
        int             rc;
 
index ef66538f76f66dfb535e999f836e1d95fc4d812e..84ac381d03ad1e90288e6663c66526957d660029 100644 (file)
@@ -334,7 +334,7 @@ backsql_tree_delete(
 {
        Operation               op2 = *op;
        slap_callback           sc = { 0 };
-       SlapReply               rs2 = { 0 };
+       SlapReply               rs2 = { REP_RESULT };
        backsql_tree_delete_t   btd = { 0 };
 
        int                     rc;
index 8ab839d177fe6cb2893eb96cf50b70954af54a27..09569b89a2f4b23fd910644e54317edfc56da437 100644 (file)
@@ -2513,7 +2513,7 @@ send_results:;
 #ifdef BACKSQL_SYNCPROV
        if ( op->o_sync ) {
                Operation       op2 = *op;
-               SlapReply       rs2 = { 0 };
+               SlapReply       rs2 = { REP_RESULT };
                Entry           *e = entry_alloc();
                slap_callback   cb = { 0 };
 
index 69bd6b5cb9a0d351e0a50aecfab7a36b87384a12..9760783c116976102c4eb7772e3f78d8ca07bdcd 100644 (file)
@@ -2423,7 +2423,7 @@ retry_add:;
                        case LDAP_ALREADY_EXISTS:
                                if ( retry ) {
                                        Operation       op2 = *op;
-                                       SlapReply       rs2 = { 0 };
+                                       SlapReply       rs2 = { REP_RESULT };
                                        slap_callback   cb2 = { 0 };
 
                                        op2.o_bd = be;