summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:55:58 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:51 +0100
commit5c72385f3d4ba5f5747d9d5895286dfacbb2ba7a (patch)
tree27e808d6a6f64c57d8c9a904dc62e206285cf852 /source3/torture
parentb946b457991b34e89292a4dcd54f34a5c1de52d6 (diff)
downloadsamba-5c72385f3d4ba5f5747d9d5895286dfacbb2ba7a.tar.gz
samba-5c72385f3d4ba5f5747d9d5895286dfacbb2ba7a.tar.bz2
samba-5c72385f3d4ba5f5747d9d5895286dfacbb2ba7a.zip
s3:torture: s/struct event_context/struct tevent_context
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/test_notify_online.c2
-rw-r--r--source3/torture/torture.c8
2 files changed, 5 insertions, 5 deletions
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;