diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-08-23 12:07:19 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-08-23 15:55:39 +1000 |
commit | 470d87701bfc4d3d58b9cf0c6e5f240bc24707d9 (patch) | |
tree | bc2edb392b8e6a6a94d059fd54cc67e7c1dff372 /source4 | |
parent | 68fe347592d455638a30a87eace0ba9ebb9a7707 (diff) | |
download | samba-470d87701bfc4d3d58b9cf0c6e5f240bc24707d9.tar.gz samba-470d87701bfc4d3d58b9cf0c6e5f240bc24707d9.tar.bz2 samba-470d87701bfc4d3d58b9cf0c6e5f240bc24707d9.zip |
s4-pyregistry: use s4_event_context_init()
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/registry/pyregistry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/pyregistry.c b/source4/lib/registry/pyregistry.c index a3ba6c5351..7f4f8333c6 100644 --- a/source4/lib/registry/pyregistry.c +++ b/source4/lib/registry/pyregistry.c @@ -19,10 +19,10 @@ #include <Python.h> #include "includes.h" -#include <tevent.h> #include "libcli/util/pyerrors.h" #include "lib/registry/registry.h" #include "lib/talloc/pytalloc.h" +#include "lib/events/events.h" #include "auth/credentials/pycredentials.h" #include "param/pyparam.h" @@ -361,7 +361,7 @@ static PyObject *py_open_ldb_file(PyObject *self, PyObject *args, PyObject *kwar session_info = NULL; /* FIXME */ result = reg_open_ldb_file(NULL, location, session_info, credentials, - tevent_context_init(NULL), lp_ctx, &key); + s4_event_context_init(NULL), lp_ctx, &key); PyErr_WERROR_IS_ERR_RAISE(result); return py_talloc_steal(&PyHiveKey, key); |