summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-26 09:52:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:47 -0500
commit1fa9cb1449c5022f3ea55c4d9ceb02d2cd761cbf (patch)
treee51c51e4ed5fc60bb72dc946d4156edab05d7fb3 /source4
parentb3ada7f4f51392efd7292be023c11e9574b58458 (diff)
downloadsamba-1fa9cb1449c5022f3ea55c4d9ceb02d2cd761cbf.tar.gz
samba-1fa9cb1449c5022f3ea55c4d9ceb02d2cd761cbf.tar.bz2
samba-1fa9cb1449c5022f3ea55c4d9ceb02d2cd761cbf.zip
r3258: fixed "don't change" attribute for RAW_SFILEINFO_BASIC_INFO
(This used to be commit 51f84800d50f44ec47a34e1c922c6197eb794558)
Diffstat (limited to 'source4')
-rw-r--r--source4/ntvfs/posix/pvfs_setfileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_setfileinfo.c b/source4/ntvfs/posix/pvfs_setfileinfo.c
index 4b00a8ac5d..bba3ee3747 100644
--- a/source4/ntvfs/posix/pvfs_setfileinfo.c
+++ b/source4/ntvfs/posix/pvfs_setfileinfo.c
@@ -226,7 +226,7 @@ NTSTATUS pvfs_setpathinfo(struct ntvfs_module_context *ntvfs,
if (info->basic_info.in.change_time) {
newstats.dos.change_time = info->basic_info.in.change_time;
}
- if (info->basic_info.in.attrib != FILE_ATTRIBUTE_NORMAL) {
+ if (info->basic_info.in.attrib != 0) {
newstats.dos.attrib = info->basic_info.in.attrib;
}
break;