diff options
-rw-r--r-- | src/thread-pool.c | 2 |
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); |