1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix make test on sparc and possibly also on AIX

This commit is contained in:
Volker Lendecke 2008-09-09 22:13:39 +02:00
parent c3d1b00975
commit 5721205bff

View File

@ -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 */