From b1c45b94243c530aa4ed208177aaa1b8f57e76e9 Mon Sep 17 00:00:00 2001 From: Martin Wilck Date: Wed, 9 Jan 2002 19:09:57 +0000 Subject: [PATCH] Fixed a bug that caused APCs to be "forgotten". --- server/thread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/thread.c b/server/thread.c index 17093e35266..d03b9827709 100644 --- a/server/thread.c +++ b/server/thread.c @@ -562,6 +562,8 @@ int thread_queue_apc( struct thread *thread, struct object *owner, void *func, queue->head = apc; wake_thread( thread ); } + else apc->prev->next = apc; + return 1; }