1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libcli: Use NT_STATUS_PENDING instead of STATUS_PENDING

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Christof Schmitt 2020-06-19 12:55:13 -07:00 committed by Andreas Schneider
parent 6c2b1981da
commit 37a51b105b

View File

@ -3735,7 +3735,7 @@ static NTSTATUS smb2cli_conn_dispatch_incoming(struct smbXcli_conn *conn,
status = NT_STATUS(IVAL(inhdr, SMB2_HDR_STATUS));
if ((flags & SMB2_HDR_FLAG_ASYNC) &&
NT_STATUS_EQUAL(status, STATUS_PENDING)) {
NT_STATUS_EQUAL(status, NT_STATUS_PENDING)) {
uint64_t async_id = BVAL(inhdr, SMB2_HDR_ASYNC_ID);
if (state->smb2.got_async) {
@ -4006,7 +4006,7 @@ NTSTATUS smb2cli_req_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
}
if (tevent_req_is_in_progress(req) && state->smb2.got_async) {
return STATUS_PENDING;
return NT_STATUS_PENDING;
}
if (tevent_req_is_nterror(req, &status)) {
@ -4076,7 +4076,7 @@ NTSTATUS smb2cli_req_get_sent_iov(struct tevent_req *req,
struct smbXcli_req_state);
if (tevent_req_is_in_progress(req)) {
return STATUS_PENDING;
return NT_STATUS_PENDING;
}
sent_iov[0].iov_base = state->smb2.hdr;