summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-15 18:52:56 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-15 20:03:00 +1100
commit4a4f420481cae5ba82a42d6763d3732defccac24 (patch)
tree3ac9d8bd020f3770fd31f5f324d59f9256d750e2 /source4/libcli
parentffa8c45372fb3404d03b368b51e29c3338f13748 (diff)
downloadsamba-4a4f420481cae5ba82a42d6763d3732defccac24.tar.gz
samba-4a4f420481cae5ba82a42d6763d3732defccac24.tar.bz2
samba-4a4f420481cae5ba82a42d6763d3732defccac24.zip
s4-libcli: fixed structure element bug in ntcreatexreadx
This one didn't matter until the root_fid changed the alignment of the two structures.
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/rawfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c
index d8925b019d..b6849fef61 100644
--- a/source4/libcli/raw/rawfile.c
+++ b/source4/libcli/raw/rawfile.c
@@ -819,7 +819,7 @@ _PUBLIC_ NTSTATUS smb_raw_open_recv(struct smbcli_request *req, TALLOC_CTX *mem_
parms->ntcreatexreadx.out.compaction_mode = SVAL(req->in.vwv, VWV(3));
parms->ntcreatexreadx.out.nread = SVAL(req->in.vwv, VWV(5));
if (parms->ntcreatexreadx.out.nread >
- MAX(parms->openxreadx.in.mincnt, parms->openxreadx.in.maxcnt) ||
+ MAX(parms->ntcreatexreadx.in.mincnt, parms->ntcreatexreadx.in.maxcnt) ||
!smbcli_raw_pull_data(&req->in.bufinfo, req->in.hdr + SVAL(req->in.vwv, VWV(6)),
parms->ntcreatexreadx.out.nread,
parms->ntcreatexreadx.out.data)) {