s4:lib: use tevent_ fns names instead of legcay event_ ones
[bbaumbach/samba-autobuild/.git] / source4 / lib / com / main.c
index 487ed5b712d002d4e44927bb59302359df1c3eda..1f657cef87a6ecc8f9aa3289b32ab8c9a525a1a2 100644 (file)
@@ -28,7 +28,7 @@ WERROR com_init_ctx(struct com_context **ctx, struct tevent_context *event_ctx)
 {
        *ctx = talloc(NULL, struct com_context);
        if (event_ctx == NULL) {
-               event_ctx = event_context_init(*ctx);
+               event_ctx = tevent_context_init(*ctx);
        }
        (*ctx)->event_ctx = event_ctx;
        return WERR_OK;