diff options
author | Volker Lendecke <vl@samba.org> | 2008-09-09 22:13:39 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-09-09 22:23:05 +0200 |
commit | a1d0f59f4604c4d324c1b082fba43ffa11ea8f97 (patch) | |
tree | 07205ea357ea804b5c1baa157afdb911ed7b9499 /source3/libsmb | |
parent | c82f268a1c1c5eff1cbdb410da3c717464bdbdd7 (diff) | |
download | samba-a1d0f59f4604c4d324c1b082fba43ffa11ea8f97.tar.gz samba-a1d0f59f4604c4d324c1b082fba43ffa11ea8f97.tar.bz2 samba-a1d0f59f4604c4d324c1b082fba43ffa11ea8f97.zip |
Fix make test on sparc and possibly also on AIX
(This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clirap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index 631bc3f36b..eee8636fdd 100644 --- a/source3/libsmb/clirap.c +++ b/source3/libsmb/clirap.c @@ -997,7 +997,7 @@ bool cli_qfileinfo(struct cli_state *cli, int fnum, { unsigned int data_len = 0; unsigned int param_len = 0; - uint16 setup = TRANSACT2_QFILEINFO; + uint16 setup; uint8_t param[4]; uint8_t *rparam=NULL, *rdata=NULL; NTSTATUS status; @@ -1011,6 +1011,8 @@ bool cli_qfileinfo(struct cli_state *cli, int fnum, SSVAL(param, 0, fnum); SSVAL(param, 2, SMB_QUERY_FILE_ALL_INFO); + SSVAL(&setup, 0, TRANSACT2_QFILEINFO); + status = cli_trans(talloc_tos(), cli, SMBtrans2, NULL, -1, 0, 0, /* name, fid, function, flags */ &setup, 1, 0, /* setup, length, max */ |