summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/smb2cli_read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/smb2cli_read.c b/source3/libsmb/smb2cli_read.c
index 8f3362a4ab..c5e40b7c57 100644
--- a/source3/libsmb/smb2cli_read.c
+++ b/source3/libsmb/smb2cli_read.c
@@ -156,7 +156,7 @@ NTSTATUS smb2cli_read(struct smbXcli_conn *conn,
uint32_t *data_length)
{
TALLOC_CTX *frame = talloc_stackframe();
- struct event_context *ev;
+ struct tevent_context *ev;
struct tevent_req *req;
NTSTATUS status = NT_STATUS_NO_MEMORY;
@@ -167,7 +167,7 @@ NTSTATUS smb2cli_read(struct smbXcli_conn *conn,
status = NT_STATUS_INVALID_PARAMETER;
goto fail;
}
- ev = event_context_init(frame);
+ ev = tevent_context_init(frame);
if (ev == NULL) {
goto fail;
}