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

r18715: 0x8 style status returns should also fail here (thanks metze)

This commit is contained in:
Andrew Tridgell 2006-09-20 16:33:25 +00:00 committed by Gerald (Jerry) Carter
parent 8999a9eb2e
commit f55de25ab3

View File

@ -56,7 +56,7 @@ NTSTATUS smb2_read_recv(struct smb2_request *req,
NTSTATUS status;
if (!smb2_request_receive(req) ||
smb2_request_is_error(req)) {
!smb2_request_is_ok(req)) {
return smb2_request_destroy(req);
}