summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/smb_server/reply.c4
1 files 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 */