s4:lib/com: make use of samba_tevent_context_init()
[bbaumbach/samba-autobuild/.git] / source4 / lib / com / main.c
index 1f657cef87a6ecc8f9aa3289b32ab8c9a525a1a2..e67051bb817e7db392176d297fca6f81f81c0a58 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 = tevent_context_init(*ctx);
+               event_ctx = samba_tevent_context_init(*ctx);
        }
        (*ctx)->event_ctx = event_ctx;
        return WERR_OK;