sq lib/tevent/tevent_threadpool.c
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Jul 2016 15:41:10 +0000 (17:41 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 17 May 2018 07:51:50 +0000 (09:51 +0200)
lib/tevent/tevent_threadpool.c

index 94836084f9a0e85bb9054c5269317f6e0dd5cc51..f60c2acc8be63b9246c33943109b6a004e6a10bf 100644 (file)
@@ -440,7 +440,7 @@ static struct threadpool_job *threadpool_put_job(TALLOC_CTX *mem_ctx,
        job->id = id;
        job->fn = fn;
        job->private_data = private_data;
-       DLIST_ADD_END(p->jobs, job, struct threadpool_job *);
+       DLIST_ADD_END(p->jobs, job);
 
        return job;
 }