auth/pycredentials: make use of samba_tevent_context_init()
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Feb 2013 07:32:35 +0000 (08:32 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 28 Feb 2013 11:07:53 +0000 (12:07 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
auth/credentials/pycredentials.c

index 5d21721490dfc98125138593f06b988c28ba7d41..14fd5e01ba92e97f2100151c9aedd485bea8a861 100644 (file)
@@ -341,7 +341,7 @@ static PyObject *py_creds_get_named_ccache(pytalloc_Object *self, PyObject *args
                return NULL;
        }
 
-       event_ctx = tevent_context_init(mem_ctx);
+       event_ctx = samba_tevent_context_init(mem_ctx);
 
        ret = cli_credentials_get_named_ccache(creds, event_ctx, lp_ctx,
                                               ccache_name, &ccc, &error_string);