summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-01 14:04:28 +0000
committerStefan Metzmacher <metze@samba.org>2006-07-01 14:04:28 +0000
commit6041066462b1af63c99cbc81b0a9b5930e5851a5 (patch)
tree940de47a61a304884e75677bd6f5f9f22bbc8476
parent7d811bf3595153bb23b05bcc39c9453d191c52c7 (diff)
downloadsamba-6041066462b1af63c99cbc81b0a9b5930e5851a5.tar.gz
samba-6041066462b1af63c99cbc81b0a9b5930e5851a5.tar.xz
samba-6041066462b1af63c99cbc81b0a9b5930e5851a5.zip
r16730: that is correct...
metze
-rw-r--r--source/ntvfs/ntvfs_generic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/ntvfs/ntvfs_generic.c b/source/ntvfs/ntvfs_generic.c
index 5987ff4ba6c..8c48e52b5c9 100644
--- a/source/ntvfs/ntvfs_generic.c
+++ b/source/ntvfs/ntvfs_generic.c
@@ -215,8 +215,7 @@ static NTSTATUS ntvfs_map_open_finish(struct ntvfs_module_context *ntvfs,
io->smb2.out.change_time = io2->generic.out.change_time;
io->smb2.out.alloc_size = io2->generic.out.alloc_size;
io->smb2.out.size = io2->generic.out.size;
- /*io->smb2.out.file_attr = io2->generic.out.attrib; would this be correct? */
- io->smb2.out.file_attr = 0;
+ io->smb2.out.file_attr = io2->generic.out.attrib;
io->smb2.out._pad = 0;
io->smb2.out.blob = data_blob(NULL, 0);
break;