Skip to content

Commit 040d1ed

Browse files
committed
Pass the scheduler as a context for thread instantiate
1 parent e0318ed commit 040d1ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/io/schedule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ fr_schedule_t *fr_schedule_create(TALLOC_CTX *ctx,
548548
* thread data so that triggers can use module xlats.
549549
*/
550550
if (sc->worker_thread_instantiate &&
551-
unlikely((sc->worker_thread_instantiate(NULL, el, NULL) < 0))) {
551+
unlikely((sc->worker_thread_instantiate(sc, el, NULL) < 0))) {
552552
PERROR("Main thread instantiation failed");
553553
goto mt_fail;
554554
}

0 commit comments

Comments
 (0)