r3084: mincnt and maxcnt were the wrong way around in readbraw server code
authorAndrew Tridgell <tridge@samba.org>
Wed, 20 Oct 2004 11:11:55 +0000 (11:11 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:01:57 +0000 (13:01 -0500)
(This used to be commit e11b000319953dfeeb84fed142e857a5247a93e9)

source4/smb_server/reply.c

index bc5eb4157b06402746dfb01fa5143d8691b98690..05919921ca7246c20b544bb040a7dfcad4f45edb 100644 (file)
@@ -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 */