From a92150ed0ef25623bc2f2476060fc845f673d29f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 27 Oct 2022 22:17:55 +0200 Subject: [PATCH] s4:lib/events: let s4_event_context_init() use samba_tevent_context_init() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is no real change, but it makes sure we only have to change samba_tevent_context_init() in future in order to distribute the change to all places. Signed-off-by: Stefan Metzmacher Reviewed-by: Pavel Filipenský Reviewed-by: Volker Lendecke --- source4/lib/events/tevent_s4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/lib/events/tevent_s4.c b/source4/lib/events/tevent_s4.c index f80424f71f5..36a4d32b957 100644 --- a/source4/lib/events/tevent_s4.c +++ b/source4/lib/events/tevent_s4.c @@ -31,7 +31,7 @@ struct tevent_context *s4_event_context_init(TALLOC_CTX *mem_ctx) { struct tevent_context *ev; - ev = tevent_context_init_byname(mem_ctx, NULL); + ev = samba_tevent_context_init(mem_ctx); if (ev) { samba_tevent_set_debug(ev, "s4_tevent"); tevent_loop_allow_nesting(ev);