s4:lib/com: make use of samba_tevent_context_init()
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 08:13:23 +0000 (09:13 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:47:45 +0000 (23:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
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;