diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-18 09:11:19 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 23:47:48 +0100 |
commit | 60fa4c7305b4c766fe05a06025bce9ab1ff02902 (patch) | |
tree | cce22d9f9fe5838d26ed1500520d3218ea168ddd /source3/torture/torture.c | |
parent | 22dd9e7c792c4decf4fcbe3b1ed2ea1f165c2af6 (diff) | |
download | samba-60fa4c7305b4c766fe05a06025bce9ab1ff02902.tar.gz samba-60fa4c7305b4c766fe05a06025bce9ab1ff02902.tar.bz2 samba-60fa4c7305b4c766fe05a06025bce9ab1ff02902.zip |
s3:torture: 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/torture/torture.c')
-rw-r--r-- | source3/torture/torture.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index b59ac30ffd..825eaf5362 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -228,7 +228,7 @@ static bool cli_bad_session_request(int fd, goto fail; } - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } @@ -2985,7 +2985,7 @@ static bool run_negprot_nowait(int dummy) printf("starting negprot nowait test\n"); - ev = tevent_context_init(talloc_tos()); + ev = samba_tevent_context_init(talloc_tos()); if (ev == NULL) { return false; } @@ -3723,7 +3723,7 @@ static bool run_oplock4(int dummy) return false; } - ev = tevent_context_init(talloc_tos()); + ev = samba_tevent_context_init(talloc_tos()); if (ev == NULL) { printf("tevent_context_init failed\n"); return false; @@ -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 = event_context_init(NULL); + struct event_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 = event_context_init(NULL); + struct event_context *evt = samba_tevent_context_init(NULL); struct tevent_req *reqs[2], *smbreqs[2]; bool done = false; NTSTATUS status; @@ -7030,7 +7030,7 @@ static bool run_notify_bench(int dummy) num_unc_names = 1; } - ev = tevent_context_init(talloc_tos()); + ev = samba_tevent_context_init(talloc_tos()); if (ev == NULL) { d_printf("tevent_context_init failed\n"); return false; @@ -7566,7 +7566,7 @@ static bool run_tldap(int dummy) } d_printf("defaultNamingContext: %s\n", basedn); - ev = tevent_context_init(talloc_tos()); + ev = samba_tevent_context_init(talloc_tos()); if (ev == NULL) { d_printf("tevent_context_init failed\n"); return false; @@ -8595,7 +8595,7 @@ static bool run_getaddrinfo_send(int dummy) struct tevent_req *reqs[4]; int i; - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } |