summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-20 11:11:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:01:57 -0500
commit74e741037cb9ffdceea509be052b2161bdda3ef2 (patch)
tree538821737050fb69d6a35cb3dfddc4c51f7afb40 /source4/smb_server
parent2e4c8c01591496b5fb44f0d7e2ce082a9795c2f3 (diff)
downloadsamba-74e741037cb9ffdceea509be052b2161bdda3ef2.tar.gz
samba-74e741037cb9ffdceea509be052b2161bdda3ef2.tar.bz2
samba-74e741037cb9ffdceea509be052b2161bdda3ef2.zip
r3084: mincnt and maxcnt were the wrong way around in readbraw server code
(This used to be commit e11b000319953dfeeb84fed142e857a5247a93e9)
Diffstat (limited to 'source4/smb_server')
-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 */