summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-20 16:33:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:03 -0500
commit19f9b91d288c781e71539804467c9c9726e1060d (patch)
treeab0d8f85f462305b92d70c6f5b54d822a6d12c64 /source4/libcli
parentfd511d47e9362800a840898befa06c4b6d937df2 (diff)
downloadsamba-19f9b91d288c781e71539804467c9c9726e1060d.tar.gz
samba-19f9b91d288c781e71539804467c9c9726e1060d.tar.bz2
samba-19f9b91d288c781e71539804467c9c9726e1060d.zip
r18715: 0x8 style status returns should also fail here (thanks metze)
(This used to be commit f55de25ab30f9270bbd139dc1e683101db1069c8)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/smb2/read.c2
1 files changed, 1 insertions, 1 deletions
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);
}