summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/smb2cli_close.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/smb2cli_close.c b/source3/libsmb/smb2cli_close.c
index 5c69fee9b4..1e8d814688 100644
--- a/source3/libsmb/smb2cli_close.c
+++ b/source3/libsmb/smb2cli_close.c
@@ -106,7 +106,7 @@ NTSTATUS smb2cli_close(struct smbXcli_conn *conn,
uint64_t fid_volatile)
{
TALLOC_CTX *frame = talloc_stackframe();
- struct event_context *ev;
+ struct tevent_context *ev;
struct tevent_req *req;
NTSTATUS status = NT_STATUS_NO_MEMORY;
@@ -117,7 +117,7 @@ NTSTATUS smb2cli_close(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;
}