From 2ee67e37c239f303351eb80917d9c68334ce26ac Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 29 Dec 2011 13:51:17 +1100 Subject: [PATCH] s4-pyauth: Make sure event context allows nesting --- source4/auth/pyauth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c index 08ce9d3f7fd..f448a4404da 100644 --- a/source4/auth/pyauth.c +++ b/source4/auth/pyauth.c @@ -30,6 +30,7 @@ #include "auth/credentials/pycredentials.h" #include #include "librpc/rpc/pyrpc_util.h" +#include "lib/events/events.h" void initauth(void); @@ -245,7 +246,7 @@ static PyObject *py_auth_context_new(PyTypeObject *type, PyObject *args, PyObjec lp_ctx = lpcfg_from_py_object(mem_ctx, py_lp_ctx); - ev = tevent_context_init(mem_ctx); + ev = s4_event_context_init(mem_ctx); if (ev == NULL) { PyErr_NoMemory(); return NULL; -- 2.34.1