mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
libsmb: Introduce helper var to cli_tree_connect_*_done()
README.Coding, makes it easier to debug Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
f3b2c2b5ef
commit
a4f9f7c825
@ -2357,14 +2357,14 @@ static struct tevent_req *cli_tree_connect_send(
|
||||
|
||||
static void cli_tree_connect_smb2_done(struct tevent_req *subreq)
|
||||
{
|
||||
tevent_req_simple_finish_ntstatus(
|
||||
subreq, smb2cli_tcon_recv(subreq));
|
||||
NTSTATUS status = smb2cli_tcon_recv(subreq);
|
||||
tevent_req_simple_finish_ntstatus(subreq, status);
|
||||
}
|
||||
|
||||
static void cli_tree_connect_andx_done(struct tevent_req *subreq)
|
||||
{
|
||||
tevent_req_simple_finish_ntstatus(
|
||||
subreq, cli_tcon_andx_recv(subreq));
|
||||
NTSTATUS status = cli_tcon_andx_recv(subreq);
|
||||
tevent_req_simple_finish_ntstatus(subreq, status);
|
||||
}
|
||||
|
||||
static void cli_tree_connect_raw_done(struct tevent_req *subreq)
|
||||
|
Loading…
Reference in New Issue
Block a user