From 19f9b91d288c781e71539804467c9c9726e1060d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 20 Sep 2006 16:33:25 +0000 Subject: r18715: 0x8 style status returns should also fail here (thanks metze) (This used to be commit f55de25ab30f9270bbd139dc1e683101db1069c8) --- source4/libcli/smb2/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli/smb2') diff --git a/source4/libcli/smb2/read.c b/source4/libcli/smb2/read.c index eb935fb4f1..272bc82882 100644 --- a/source4/libcli/smb2/read.c +++ b/source4/libcli/smb2/read.c @@ -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); } -- cgit