From 26c08cb64aae147adc0b07216781ff04f881d648 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 8 Mar 2008 22:12:57 +0000 Subject: [PATCH] Fix prev commit (thanks Ando) --- servers/slapd/overlays/syncprov.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ); -- 2.39.5