summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:17:45 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:49 +0100
commitb538c3188971621dd55011e6050b5af281403bf7 (patch)
tree16d6f60cbf123bd9dc4265acbc8971d53d5fc18f /source3/rpc_client
parent60fa4c7305b4c766fe05a06025bce9ab1ff02902 (diff)
downloadsamba-b538c3188971621dd55011e6050b5af281403bf7.tar.gz
samba-b538c3188971621dd55011e6050b5af281403bf7.tar.bz2
samba-b538c3188971621dd55011e6050b5af281403bf7.zip
s3:rpc_client: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c2
-rw-r--r--source3/rpc_client/rpc_transport_np.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 61e6cce696..012d1f32f5 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -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;
diff --git a/source3/rpc_client/rpc_transport_np.c b/source3/rpc_client/rpc_transport_np.c
index 0be07eba75..db7217e705 100644
--- a/source3/rpc_client/rpc_transport_np.c
+++ b/source3/rpc_client/rpc_transport_np.c
@@ -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;