From 74e741037cb9ffdceea509be052b2161bdda3ef2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 20 Oct 2004 11:11:55 +0000 Subject: r3084: mincnt and maxcnt were the wrong way around in readbraw server code (This used to be commit e11b000319953dfeeb84fed142e857a5247a93e9) --- source4/smb_server/reply.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/smb_server/reply.c b/source4/smb_server/reply.c index bc5eb4157b..05919921ca 100644 --- a/source4/smb_server/reply.c +++ b/source4/smb_server/reply.c @@ -675,8 +675,8 @@ void reply_readbraw(struct smbsrv_request *req) io.readbraw.in.fnum = req_fnum(req, req->in.vwv, VWV(0)); io.readbraw.in.offset = IVAL(req->in.vwv, VWV(1)); - io.readbraw.in.mincnt = SVAL(req->in.vwv, VWV(3)); - io.readbraw.in.maxcnt = SVAL(req->in.vwv, VWV(4)); + io.readbraw.in.maxcnt = SVAL(req->in.vwv, VWV(3)); + io.readbraw.in.mincnt = SVAL(req->in.vwv, VWV(4)); io.readbraw.in.timeout = IVAL(req->in.vwv, VWV(5)); /* the 64 bit variant */ -- cgit