From df22b333a56c248978a4e43157041fc723bf632b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 28 Apr 2005 16:45:52 +0000 Subject: [PATCH] Mroe abandon checks for ITS#3671 --- servers/slapd/overlays/syncprov.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 6d7ca76f43..9b5fba66a0 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -708,7 +708,6 @@ syncprov_qplay( Operation *op, slap_overinst *on, syncops *so ) opc.son = on; op->o_bd->bd_info = (BackendInfo *)on->on_info; for (sr = so->s_res; sr; sr=srnext) { - int rc; srnext = sr->s_next; opc.sdn = sr->s_dn; opc.sndn = sr->s_ndn; @@ -757,6 +756,9 @@ syncprov_sendresp( Operation *op, opcookie *opc, syncops *so, Entry **e, int mod Operation sop = *so->s_op; Opheader ohdr; + if ( so->s_op->o_abandon ) + return SLAPD_ABANDON; + ohdr = *sop.o_hdr; sop.o_hdr = &ohdr; sop.o_tmpmemctx = op->o_tmpmemctx; -- 2.39.5