1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4:pyregistry: make use of samba_tevent_context_init()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Stefan Metzmacher 2013-02-21 08:31:41 +01:00 committed by Michael Adam
parent 5aee3a45e4
commit 8ec4d9cb00

View File

@ -288,7 +288,7 @@ static PyObject *py_open_hive(PyTypeObject *type, PyObject *args, PyObject *kwar
session_info = NULL;
result = reg_open_hive(NULL, location, session_info, credentials,
tevent_context_init(NULL),
samba_tevent_context_init(NULL),
lp_ctx, &hive_key);
talloc_free(mem_ctx);
PyErr_WERROR_NOT_OK_RAISE(result);