From 393e6e5ec0c1200fb39962428ce31b7131b08e22 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 21 Sep 2006 10:12:42 +0000 Subject: [PATCH] Tweak prev commit, avoid referencing syncop when resetting qtask --- servers/slapd/overlays/syncprov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 410183bb25..c17597392f 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -906,9 +906,9 @@ syncprov_qtask( void *ctx, void *arg ) /* wait until we get explicitly scheduled again */ ldap_pvt_thread_mutex_lock( &slapd_rq.rq_mutex ); - ldap_pvt_runqueue_stoptask( &slapd_rq, so->s_qtask ); + ldap_pvt_runqueue_stoptask( &slapd_rq, rtask ); if ( rc == 0 ) { - ldap_pvt_runqueue_resched( &slapd_rq, so->s_qtask, 1 ); + ldap_pvt_runqueue_resched( &slapd_rq, rtask, 1 ); } else { /* bail out on any error */ ldap_pvt_runqueue_remove( &slapd_rq, rtask ); -- 2.39.5