mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
Mroe abandon checks for ITS#3671
This commit is contained in:
parent
67c68bab9c
commit
df22b333a5
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue