mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libsmb: Use tevent_req_nterror()'s retval
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
063976fca3
commit
68d20326db
@ -271,8 +271,7 @@ struct tevent_req *cli_smb2_create_fnum_send(
|
||||
&state->in_cblobs,
|
||||
SMB2_CREATE_TAG_TWRP,
|
||||
twrp_blob);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
tevent_req_nterror(req, status);
|
||||
if (tevent_req_nterror(req, status)) {
|
||||
return tevent_req_post(req, ev);
|
||||
}
|
||||
}
|
||||
|
@ -85,8 +85,7 @@ static void cli_smb_oplock_break_waiter_done(struct tevent_req *subreq)
|
||||
NULL, /* pinbuf */
|
||||
NULL, 0); /* expected */
|
||||
TALLOC_FREE(subreq);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
tevent_req_nterror(req, status);
|
||||
if (tevent_req_nterror(req, status)) {
|
||||
return;
|
||||
}
|
||||
if (wct < 8) {
|
||||
|
Loading…
Reference in New Issue
Block a user