From: Arran Cudbard-Bell Date: Thu, 19 Mar 2026 02:04:15 +0000 (-0600) Subject: Pass the scheduler as a context for thread instantiate X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=040d1ed06fbc75b63c0cef9ec531f371375251fe;p=thirdparty%2Ffreeradius-server.git Pass the scheduler as a context for thread instantiate --- diff --git a/src/lib/io/schedule.c b/src/lib/io/schedule.c index 64549756233..d6087c9f22a 100644 --- a/src/lib/io/schedule.c +++ b/src/lib/io/schedule.c @@ -548,7 +548,7 @@ fr_schedule_t *fr_schedule_create(TALLOC_CTX *ctx, * thread data so that triggers can use module xlats. */ if (sc->worker_thread_instantiate && - unlikely((sc->worker_thread_instantiate(NULL, el, NULL) < 0))) { + unlikely((sc->worker_thread_instantiate(sc, el, NULL) < 0))) { PERROR("Main thread instantiation failed"); goto mt_fail; }