From: Howard Chu Date: Sat, 8 Mar 2008 22:12:57 +0000 (+0000) Subject: Fix prev commit (thanks Ando) X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~104 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26c08cb64aae147adc0b07216781ff04f881d648;p=openldap Fix prev commit (thanks Ando) --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index ae0297bf4d..2be06d5d1c 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -837,8 +837,10 @@ syncprov_sendresp( Operation *op, opcookie *opc, syncops *so, /* Play back queued responses */ static int -syncprov_qplay( Operation *op, slap_overinst *on, syncops *so ) +syncprov_qplay( Operation *op, struct re_s *rtask ) { + syncops *so = rtask->arg; + slap_overinst *on = so->s_op->o_private; syncres *sr; Entry *e; opcookie opc; @@ -910,7 +912,6 @@ syncprov_qtask( void *ctx, void *arg ) { struct re_s *rtask = arg; syncops *so = rtask->arg; - slap_overinst *on = so->s_op->o_private; OperationBuffer opbuf; Operation *op; BackendDB be; @@ -935,7 +936,7 @@ syncprov_qtask( void *ctx, void *arg ) op->o_private = NULL; op->o_callback = NULL; - rc = syncprov_qplay( op, on, so ); + rc = syncprov_qplay( op, rtask ); /* decrement use count... */ syncprov_free_syncop( so );