mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_tcon.c
metze
This commit is contained in:
parent
b2c9fe4ad1
commit
0cb1fdac4e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user