diff options
Diffstat (limited to 'source3/lib/fncall.c')
-rw-r--r-- | source3/lib/fncall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/fncall.c b/source3/lib/fncall.c index 7f728ba015..88304d6961 100644 --- a/source3/lib/fncall.c +++ b/source3/lib/fncall.c @@ -287,7 +287,7 @@ static void fncall_handler(struct tevent_context *ev, struct tevent_fd *fde, int i, num_pending; int job_id; - if (pthreadpool_finished_job(ctx->pool, &job_id) != 0) { + if (pthreadpool_finished_jobs(ctx->pool, &job_id, 1) < 0) { return; } |