diff options
-rw-r--r-- | source4/libcli/smb2/request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/request.c b/source4/libcli/smb2/request.c index 9fe9ad12fa..1f3e2f54e4 100644 --- a/source4/libcli/smb2/request.c +++ b/source4/libcli/smb2/request.c @@ -124,7 +124,7 @@ NTSTATUS smb2_request_destroy(struct smb2_request *req) DLIST_REMOVE(req->transport->pending_recv, req); } - if (req->state == SMBCLI_REQUEST_ERROR && + if (req->state == SMB2_REQUEST_ERROR && NT_STATUS_IS_OK(req->status)) { req->status = NT_STATUS_INTERNAL_ERROR; } |