From ac7109d68ec3ab245d2bcbedc74a5bbfb2cfa669 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Sat, 3 Sep 2011 00:24:27 +0000 Subject: [PATCH] oops, build was failing with threads disabled --- lib/isc/task.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/isc/task.c b/lib/isc/task.c index cfafb6da55..8f8e78c5c0 100644 --- a/lib/isc/task.c +++ b/lib/isc/task.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: task.c,v 1.119 2011/09/02 23:46:32 tbox Exp $ */ +/* $Id: task.c,v 1.120 2011/09/03 00:24:27 each Exp $ */ /*! \file * \author Principal Author: Bob Halley @@ -1255,11 +1255,11 @@ dispatch(isc__taskmgr_t *manager) { } #ifndef USE_WORKER_THREADS - ISC_LIST_APPENDLIST(&manager->ready_tasks, new_ready_tasks, ready_link); - ISC_LIST_APPENDLIST(&manager->ready_priority_tasks, new_priority_tasks, + ISC_LIST_APPENDLIST(manager->ready_tasks, new_ready_tasks, ready_link); + ISC_LIST_APPENDLIST(manager->ready_priority_tasks, new_priority_tasks, ready_priority_link); if (empty_readyq(manager)) - manager->mode == isc_taskmgrmode_normal; + manager->mode = isc_taskmgrmode_normal; #endif UNLOCK(&manager->lock);