1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:lib/events: let s4_event_context_init() use samba_tevent_context_init()

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 <metze@samba.org>
Reviewed-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Stefan Metzmacher 2022-10-27 22:17:55 +02:00
parent eab796a4f9
commit a92150ed0e

View File

@ -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);