s3:rpc_client: make use of samba_tevent_context_init()
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 08:17:45 +0000 (09:17 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:47:49 +0000 (23:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/rpc_client/cli_pipe.c
source3/rpc_client/rpc_transport_np.c

index 61e6cce69618810a18715f8f70a563af35eabca0..012d1f32f574b76ab79bef7126c9d7c80e4da004 100644 (file)
@@ -1961,7 +1961,7 @@ NTSTATUS rpc_pipe_bind(struct rpc_pipe_client *cli,
        struct tevent_req *req;
        NTSTATUS status = NT_STATUS_OK;
 
-       ev = event_context_init(frame);
+       ev = samba_tevent_context_init(frame);
        if (ev == NULL) {
                status = NT_STATUS_NO_MEMORY;
                goto fail;
index 0be07eba75c7917c9d0bd9d9dcb2b4ac35530a45..db7217e705beaf1809468e4b2debab1c075e2c12 100644 (file)
@@ -117,7 +117,7 @@ NTSTATUS rpc_transport_np_init(TALLOC_CTX *mem_ctx, struct cli_state *cli,
        struct tevent_req *req;
        NTSTATUS status = NT_STATUS_OK;
 
-       ev = event_context_init(frame);
+       ev = samba_tevent_context_init(frame);
        if (ev == NULL) {
                status = NT_STATUS_NO_MEMORY;
                goto fail;