From 5c72385f3d4ba5f5747d9d5895286dfacbb2ba7a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 18 Feb 2013 09:55:58 +0100 Subject: s3:torture: s/struct event_context/struct tevent_context Signed-off-by: Stefan Metzmacher Reviewed-by: Michael Adam --- source3/torture/test_notify_online.c | 2 +- source3/torture/torture.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/torture') diff --git a/source3/torture/test_notify_online.c b/source3/torture/test_notify_online.c index d2748f4f34..b59ce203df 100644 --- a/source3/torture/test_notify_online.c +++ b/source3/torture/test_notify_online.c @@ -236,7 +236,7 @@ static NTSTATUS notify_online(struct cli_state *cli, bool *got_notify) { TALLOC_CTX *frame = talloc_stackframe(); - struct event_context *ev; + struct tevent_context *ev; struct tevent_req *req; NTSTATUS status = NT_STATUS_NO_MEMORY; diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 825eaf5362..c70b5ffc8f 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -180,7 +180,7 @@ static bool cli_bad_session_request(int fd, bool ret = false; uint8_t message_type; uint8_t error; - struct event_context *ev; + struct tevent_context *ev; struct tevent_req *req; frame = talloc_stackframe(); @@ -6604,7 +6604,7 @@ static void chain1_close_completion(struct tevent_req *req) static bool run_chain1(int dummy) { struct cli_state *cli1; - struct event_context *evt = samba_tevent_context_init(NULL); + struct tevent_context *evt = samba_tevent_context_init(NULL); struct tevent_req *reqs[3], *smbreqs[3]; bool done = false; const char *str = "foobar"; @@ -6665,7 +6665,7 @@ static void chain2_tcon_completion(struct tevent_req *req) static bool run_chain2(int dummy) { struct cli_state *cli1; - struct event_context *evt = samba_tevent_context_init(NULL); + struct tevent_context *evt = samba_tevent_context_init(NULL); struct tevent_req *reqs[2], *smbreqs[2]; bool done = false; NTSTATUS status; @@ -8518,7 +8518,7 @@ static void wbclient_done(struct tevent_req *req) static bool run_local_wbclient(int dummy) { - struct event_context *ev; + struct tevent_context *ev; struct wb_context **wb_ctx; struct winbindd_request wb_req; bool result = false; -- cgit