summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/smb2cli_tcon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libsmb/smb2cli_tcon.c b/source3/libsmb/smb2cli_tcon.c
index 7071a66196..8aa2a31296 100644
--- a/source3/libsmb/smb2cli_tcon.c
+++ b/source3/libsmb/smb2cli_tcon.c
@@ -141,7 +141,7 @@ NTSTATUS smb2cli_tcon_recv(struct tevent_req *req)
NTSTATUS smb2cli_tcon(struct cli_state *cli, const char *share)
{
TALLOC_CTX *frame = talloc_stackframe();
- struct event_context *ev;
+ struct tevent_context *ev;
struct tevent_req *req;
NTSTATUS status = NT_STATUS_NO_MEMORY;
@@ -152,7 +152,7 @@ NTSTATUS smb2cli_tcon(struct cli_state *cli, const char *share)
status = NT_STATUS_INVALID_PARAMETER;
goto fail;
}
- ev = event_context_init(frame);
+ ev = tevent_context_init(frame);
if (ev == NULL) {
goto fail;
}
@@ -240,7 +240,7 @@ NTSTATUS smb2cli_tdis_recv(struct tevent_req *req)
NTSTATUS smb2cli_tdis(struct cli_state *cli)
{
TALLOC_CTX *frame = talloc_stackframe();
- struct event_context *ev;
+ struct tevent_context *ev;
struct tevent_req *req;
NTSTATUS status = NT_STATUS_NO_MEMORY;
@@ -251,7 +251,7 @@ NTSTATUS smb2cli_tdis(struct cli_state *cli)
status = NT_STATUS_INVALID_PARAMETER;
goto fail;
}
- ev = event_context_init(frame);
+ ev = tevent_context_init(frame);
if (ev == NULL) {
goto fail;
}