svn commit: samba r15740 - in branches/SAMBA_4_0/source/libcli/raw: .

metze at samba.org metze at samba.org
Sat May 20 10:40:11 GMT 2006


Author: metze
Date: 2006-05-20 10:40:10 +0000 (Sat, 20 May 2006)
New Revision: 15740

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

Log:
add TODO, that we should check if the server supports
large offsets, before sending large offset requests

metze
Modified:
   branches/SAMBA_4_0/source/libcli/raw/rawreadwrite.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/raw/rawreadwrite.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/raw/rawreadwrite.c	2006-05-20 10:31:23 UTC (rev 15739)
+++ branches/SAMBA_4_0/source/libcli/raw/rawreadwrite.c	2006-05-20 10:40:10 UTC (rev 15740)
@@ -81,6 +81,10 @@
 		SSVAL(req->out.vwv, VWV(6), parms->readx.in.mincnt);
 		SIVAL(req->out.vwv, VWV(7), parms->readx.in.maxcnt >> 16);
 		SSVAL(req->out.vwv, VWV(9), parms->readx.in.remaining);
+		/*
+		 * TODO: give an error when the offset is 64 bit
+		 *       and the server doesn't support it
+		 */
 		if (bigoffset) {
 			SIVAL(req->out.vwv, VWV(10),parms->readx.in.offset>>32);
 		}



More information about the samba-cvs mailing list