svn commit: samba r14316 - in branches/SAMBA_4_0/source/torture: .
raw
metze at samba.org
metze at samba.org
Mon Mar 13 12:43:59 GMT 2006
Author: metze
Date: 2006-03-13 12:43:59 +0000 (Mon, 13 Mar 2006)
New Revision: 14316
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14316
Log:
don't zero the smb_handle after it was set:-)
metze
Modified:
branches/SAMBA_4_0/source/torture/raw/open.c
branches/SAMBA_4_0/source/torture/torture_util.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/open.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/open.c 2006-03-13 12:05:49 UTC (rev 14315)
+++ branches/SAMBA_4_0/source/torture/raw/open.c 2006-03-13 12:43:59 UTC (rev 14316)
@@ -138,9 +138,9 @@
#define SET_ATTRIB(sattrib) do { \
union smb_setfileinfo sfinfo; \
- sfinfo.generic.level = RAW_SFILEINFO_BASIC_INFORMATION; \
- sfinfo.generic.in.file.path = fname; \
ZERO_STRUCT(sfinfo.basic_info.in); \
+ sfinfo.basic_info.level = RAW_SFILEINFO_BASIC_INFORMATION; \
+ sfinfo.basic_info.in.file.path = fname; \
sfinfo.basic_info.in.attrib = sattrib; \
status = smb_raw_setpathinfo(cli->tree, &sfinfo); \
if (!NT_STATUS_IS_OK(status)) { \
Modified: branches/SAMBA_4_0/source/torture/torture_util.c
===================================================================
--- branches/SAMBA_4_0/source/torture/torture_util.c 2006-03-13 12:05:49 UTC (rev 14315)
+++ branches/SAMBA_4_0/source/torture/torture_util.c 2006-03-13 12:43:59 UTC (rev 14316)
@@ -379,10 +379,9 @@
union smb_setfileinfo sfinfo;
NTSTATUS status;
- sfinfo.generic.level = RAW_SFILEINFO_BASIC_INFORMATION;
- sfinfo.generic.in.file.path = fname;
-
ZERO_STRUCT(sfinfo.basic_info.in);
+ sfinfo.basic_info.level = RAW_SFILEINFO_BASIC_INFORMATION;
+ sfinfo.basic_info.in.file.path = fname;
sfinfo.basic_info.in.attrib = attrib;
status = smb_raw_setpathinfo(tree, &sfinfo);
return NT_STATUS_IS_OK(status);
More information about the samba-cvs
mailing list