noop commit: cleanup 0 -> REP_RESULT in SlapReply

This commit is contained in:
Hallvard Furuseth 2010-12-31 14:08:34 +00:00
parent 713886ec07
commit 15aa7c472a
6 changed files with 6 additions and 7 deletions

View File

@ -682,7 +682,7 @@ ldap_chain_search(
* to be set once for all (correct?) */ * to be set once for all (correct?) */
li.li_bvuri = bvuri; li.li_bvuri = bvuri;
for ( ; !BER_BVISNULL( &ref[0] ); ref++ ) { for ( ; !BER_BVISNULL( &ref[0] ); ref++ ) {
SlapReply rs2 = { 0 }; SlapReply rs2 = { REP_RESULT };
LDAPURLDesc *srv; LDAPURLDesc *srv;
req_search_s save_oq_search = op->oq_search, req_search_s save_oq_search = op->oq_search,
tmp_oq_search = { 0 }; tmp_oq_search = { 0 };

View File

@ -908,7 +908,7 @@ meta_back_get_candidate(
} else if ( candidate == META_TARGET_MULTIPLE ) { } else if ( candidate == META_TARGET_MULTIPLE ) {
Operation op2 = *op; Operation op2 = *op;
SlapReply rs2 = { 0 }; SlapReply rs2 = { REP_RESULT };
slap_callback cb2 = { 0 }; slap_callback cb2 = { 0 };
int rc; int rc;
@ -1891,4 +1891,3 @@ meta_back_quarantine(
done:; done:;
ldap_pvt_thread_mutex_unlock( &mt->mt_quarantine_mutex ); ldap_pvt_thread_mutex_unlock( &mt->mt_quarantine_mutex );
} }

View File

@ -830,7 +830,7 @@ monitor_search2ndn(
OperationBuffer opbuf; OperationBuffer opbuf;
Operation *op; Operation *op;
void *thrctx; void *thrctx;
SlapReply rs = { 0 }; SlapReply rs = { REP_RESULT };
slap_callback cb = { NULL, monitor_search2ndn_cb, NULL, NULL }; slap_callback cb = { NULL, monitor_search2ndn_cb, NULL, NULL };
int rc; int rc;

View File

@ -334,7 +334,7 @@ backsql_tree_delete(
{ {
Operation op2 = *op; Operation op2 = *op;
slap_callback sc = { 0 }; slap_callback sc = { 0 };
SlapReply rs2 = { 0 }; SlapReply rs2 = { REP_RESULT };
backsql_tree_delete_t btd = { 0 }; backsql_tree_delete_t btd = { 0 };
int rc; int rc;

View File

@ -2513,7 +2513,7 @@ send_results:;
#ifdef BACKSQL_SYNCPROV #ifdef BACKSQL_SYNCPROV
if ( op->o_sync ) { if ( op->o_sync ) {
Operation op2 = *op; Operation op2 = *op;
SlapReply rs2 = { 0 }; SlapReply rs2 = { REP_RESULT };
Entry *e = entry_alloc(); Entry *e = entry_alloc();
slap_callback cb = { 0 }; slap_callback cb = { 0 };

View File

@ -2423,7 +2423,7 @@ retry_add:;
case LDAP_ALREADY_EXISTS: case LDAP_ALREADY_EXISTS:
if ( retry ) { if ( retry ) {
Operation op2 = *op; Operation op2 = *op;
SlapReply rs2 = { 0 }; SlapReply rs2 = { REP_RESULT };
slap_callback cb2 = { 0 }; slap_callback cb2 = { 0 };
op2.o_bd = be; op2.o_bd = be;