summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/pyauth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c
index 08ce9d3f7f..f448a4404d 100644
--- a/source4/auth/pyauth.c
+++ b/source4/auth/pyauth.c
@@ -30,6 +30,7 @@
#include "auth/credentials/pycredentials.h"
#include <tevent.h>
#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;