git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c624a70
)
s3: Fix two arguments that broke when plumbing smb_filneame through dos_mode()
author
Tim Prouty
<tprouty@samba.org>
Thu, 9 Jul 2009 22:56:36 +0000
(15:56 -0700)
committer
Tim Prouty
<tprouty@samba.org>
Thu, 9 Jul 2009 22:56:53 +0000
(15:56 -0700)
source3/smbd/dosmode.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dosmode.c
b/source3/smbd/dosmode.c
index ca926aa33c55a031e3bc05d7734f4289372a54a9..d3df80ad9177c1a485673768a4caae936827edad 100644
(file)
--- a/
source3/smbd/dosmode.c
+++ b/
source3/smbd/dosmode.c
@@
-448,8
+448,8
@@
static bool get_stat_dos_flags(connection_struct *conn,
if (S_ISDIR(smb_fname->st.st_ex_mode))
*dosmode |= aDIR;
- *dosmode |= set_sparse_flag(smb_fname->st);
- *dosmode |= set_link_read_only_flag(smb_fname->st);
+ *dosmode |= set_sparse_flag(
&
smb_fname->st);
+ *dosmode |= set_link_read_only_flag(
&
smb_fname->st);
return true;
}