summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-21 08:30:51 +0100
committerMichael Adam <obnox@samba.org>2013-02-28 12:07:04 +0100
commit5aee3a45e4c398473ba6e8e61ed34df839674a40 (patch)
tree69bbc2c492aa4ef47174c622f17de2a4cb47af8e
parent2fb69f51c47c8859485011879afb11650835ecbe (diff)
downloadsamba-5aee3a45e4c398473ba6e8e61ed34df839674a40.tar.gz
samba-5aee3a45e4c398473ba6e8e61ed34df839674a40.tar.bz2
samba-5aee3a45e4c398473ba6e8e61ed34df839674a40.zip
s4:pygensec: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source4/auth/gensec/pygensec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/pygensec.c b/source4/auth/gensec/pygensec.c
index a991aef869..a84fbf8e71 100644
--- a/source4/auth/gensec/pygensec.c
+++ b/source4/auth/gensec/pygensec.c
@@ -415,7 +415,7 @@ static PyObject *py_gensec_update(PyObject *self, PyObject *args)
in.data = (uint8_t *)PyString_AsString(py_in);
in.length = PyString_Size(py_in);
- ev = tevent_context_init(mem_ctx);
+ ev = samba_tevent_context_init(mem_ctx);
if (ev == NULL) {
PyErr_NoMemory();
PyObject_Del(self);