diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-18 09:08:19 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 23:47:46 +0100 |
commit | c8dda78e35294ad56f088c86201430442df2efce (patch) | |
tree | 6b959cc54507c604739f2310194ad6c9e1295b31 /source3/libsmb/cliconnect.c | |
parent | 7fb720502f6488b5b4e29a00f4b34a6486159349 (diff) | |
download | samba-c8dda78e35294ad56f088c86201430442df2efce.tar.gz samba-c8dda78e35294ad56f088c86201430442df2efce.tar.bz2 samba-c8dda78e35294ad56f088c86201430442df2efce.zip |
s3:libsmb: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r-- | source3/libsmb/cliconnect.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 9ce013ee64..c51451528a 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -309,7 +309,7 @@ static NTSTATUS cli_session_setup_lanman2(struct cli_state *cli, const char *use status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } @@ -547,7 +547,7 @@ static NTSTATUS cli_session_setup_guest(struct cli_state *cli) goto fail; } - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { status = NT_STATUS_NO_MEMORY; goto fail; @@ -751,7 +751,7 @@ static NTSTATUS cli_session_setup_plain(struct cli_state *cli, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } @@ -1113,7 +1113,7 @@ static NTSTATUS cli_session_setup_nt1(struct cli_state *cli, const char *user, status = NT_STATUS_INVALID_PARAMETER; goto fail; } - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } @@ -1560,7 +1560,7 @@ static ADS_STATUS cli_session_setup_kerberos(struct cli_state *cli, if (smbXcli_conn_has_async_calls(cli->conn)) { return ADS_ERROR_NT(NT_STATUS_INVALID_PARAMETER); } - ev = tevent_context_init(talloc_tos()); + ev = samba_tevent_context_init(talloc_tos()); if (ev == NULL) { goto fail; } @@ -1837,7 +1837,7 @@ static NTSTATUS cli_session_setup_ntlmssp(struct cli_state *cli, if (smbXcli_conn_has_async_calls(cli->conn)) { return NT_STATUS_INVALID_PARAMETER; } - ev = tevent_context_init(talloc_tos()); + ev = samba_tevent_context_init(talloc_tos()); if (ev == NULL) { goto fail; } @@ -2214,7 +2214,7 @@ NTSTATUS cli_ulogoff(struct cli_state *cli) if (smbXcli_conn_has_async_calls(cli->conn)) { return NT_STATUS_INVALID_PARAMETER; } - ev = tevent_context_init(talloc_tos()); + ev = samba_tevent_context_init(talloc_tos()); if (ev == NULL) { goto fail; } @@ -2514,7 +2514,7 @@ NTSTATUS cli_tcon_andx(struct cli_state *cli, const char *share, goto fail; } - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { status = NT_STATUS_NO_MEMORY; goto fail; @@ -2630,7 +2630,7 @@ NTSTATUS cli_tdis(struct cli_state *cli) if (smbXcli_conn_has_async_calls(cli->conn)) { return NT_STATUS_INVALID_PARAMETER; } - ev = tevent_context_init(talloc_tos()); + ev = samba_tevent_context_init(talloc_tos()); if (ev == NULL) { goto fail; } |