1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

r14434: use the right enum type

(This used to be commit 507def57cb83a3e12a3c8d60eb833fe47e9ec9e8)
This commit is contained in:
Andrew Tridgell 2006-03-15 05:52:45 +00:00 committed by Gerald (Jerry) Carter
parent 90e27768ef
commit baa62e5637

View File

@ -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;
}