svn commit: samba r18715 - in branches/SAMBA_4_0/source/libcli/smb2: .

tridge at samba.org tridge at samba.org
Wed Sep 20 16:33:26 GMT 2006


Author: tridge
Date: 2006-09-20 16:33:25 +0000 (Wed, 20 Sep 2006)
New Revision: 18715

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18715

Log:

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

Modified:
   branches/SAMBA_4_0/source/libcli/smb2/read.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/smb2/read.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/smb2/read.c	2006-09-20 16:33:21 UTC (rev 18714)
+++ branches/SAMBA_4_0/source/libcli/smb2/read.c	2006-09-20 16:33:25 UTC (rev 18715)
@@ -56,7 +56,7 @@
 	NTSTATUS status;
 
 	if (!smb2_request_receive(req) || 
-	    smb2_request_is_error(req)) {
+	    !smb2_request_is_ok(req)) {
 		return smb2_request_destroy(req);
 	}
 



More information about the samba-cvs mailing list