[SCM] Samba Shared Repository - branch v3-devel updated - release-3-2-0pre2-4088-g5721205

Volker Lendecke vlendec at samba.org
Tue Sep 9 20:20:27 GMT 2008


The branch, v3-devel has been updated
       via  5721205bff539ed5f8592a86168679ec5a9c368e (commit)
      from  c3d1b0097590566417bda3fa33a64e994c9c7526 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-devel


- Log -----------------------------------------------------------------
commit 5721205bff539ed5f8592a86168679ec5a9c368e
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Sep 9 22:13:39 2008 +0200

    Fix make test on sparc and possibly also on AIX

-----------------------------------------------------------------------

Summary of changes:
 source/libsmb/clirap.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libsmb/clirap.c b/source/libsmb/clirap.c
index 631bc3f..eee8636 100644
--- a/source/libsmb/clirap.c
+++ b/source/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 */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list