s4:pygensec: make use of samba_tevent_context_init()
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Feb 2013 07:30:51 +0000 (08:30 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 28 Feb 2013 11:07:04 +0000 (12:07 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/auth/gensec/pygensec.c

index a991aef8699015fdfb5b8a8984792c6d48d06cb5..a84fbf8e718785ea44a5168ca419934871ce9d6d 100644 (file)
@@ -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);