aboutsummaryrefslogtreecommitdiff
path: root/src/thread-pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread-pool.c')
-rw-r--r--src/thread-pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread-pool.c b/src/thread-pool.c
index 6228004b..d9f734d8 100644
--- a/src/thread-pool.c
+++ b/src/thread-pool.c
@@ -202,7 +202,7 @@ static void *task_worker(void *pargsv)
q->n_completed++;
q->cookies[mycookie] = 0;
if ( q->finalise ) {
- q->finalise(q, task);
+ q->finalise(q->queue_args, task);
}
pthread_mutex_unlock(&q->lock);