mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
libsmb: Use tevent_req_simple_finish_ntstatus
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Mar 8 19:16:18 UTC 2019 on sn-devel-144
This commit is contained in:
parent
9a38dc0c1f
commit
7caf2cbdf1
@ -5294,11 +5294,7 @@ static void cli_posix_open_done(struct tevent_req *subreq)
|
||||
NTSTATUS status;
|
||||
|
||||
status = cli_posix_open_internal_recv(subreq, &state->fnum);
|
||||
TALLOC_FREE(subreq);
|
||||
if (tevent_req_nterror(req, status)) {
|
||||
return;
|
||||
}
|
||||
tevent_req_done(req);
|
||||
tevent_req_simple_finish_ntstatus(subreq, status);
|
||||
}
|
||||
|
||||
NTSTATUS cli_posix_open_recv(struct tevent_req *req, uint16_t *pfnum)
|
||||
|
Loading…
Reference in New Issue
Block a user