summaryrefslogtreecommitdiff
path: root/source3/torture/test_smb2.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:11:19 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:48 +0100
commit60fa4c7305b4c766fe05a06025bce9ab1ff02902 (patch)
treecce22d9f9fe5838d26ed1500520d3218ea168ddd /source3/torture/test_smb2.c
parent22dd9e7c792c4decf4fcbe3b1ed2ea1f165c2af6 (diff)
downloadsamba-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/test_smb2.c')
-rw-r--r--source3/torture/test_smb2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c
index 79ffef1958..ec695da8f6 100644
--- a/source3/torture/test_smb2.c
+++ b/source3/torture/test_smb2.c
@@ -428,9 +428,9 @@ bool run_smb2_session_reconnect(int dummy)
return false;
}
- ev = event_context_init(talloc_tos());
+ ev = samba_tevent_context_init(talloc_tos());
if (ev == NULL) {
- printf("event_context_init() returned NULL\n");
+ printf("samba_tevent_context_init() returned NULL\n");
return false;
}
@@ -937,9 +937,9 @@ bool run_smb2_multi_channel(int dummy)
return false;
}
- ev = event_context_init(talloc_tos());
+ ev = samba_tevent_context_init(talloc_tos());
if (ev == NULL) {
- printf("event_context_init() returned NULL\n");
+ printf("samba_tevent_context_init() returned NULL\n");
return false;
}
@@ -1556,9 +1556,9 @@ bool run_smb2_session_reauth(int dummy)
return false;
}
- ev = event_context_init(talloc_tos());
+ ev = samba_tevent_context_init(talloc_tos());
if (ev == NULL) {
- printf("event_context_init() returned NULL\n");
+ printf("samba_tevent_context_init() returned NULL\n");
return false;
}