diff options
author | Tim Prouty <tprouty@samba.org> | 2009-07-09 15:56:36 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-07-09 15:56:53 -0700 |
commit | f1fad2efe4daf95ad77db6251ad5d77fb9ef755c (patch) | |
tree | 93f1293dc6d21e0ae918da3998c1f989c211ccfd /source3/smbd/dosmode.c | |
parent | c624a704be96488f0aee27930cbd4c8d99df464b (diff) | |
download | samba-f1fad2efe4daf95ad77db6251ad5d77fb9ef755c.tar.gz samba-f1fad2efe4daf95ad77db6251ad5d77fb9ef755c.tar.xz samba-f1fad2efe4daf95ad77db6251ad5d77fb9ef755c.zip |
s3: Fix two arguments that broke when plumbing smb_filneame through dos_mode()
Diffstat (limited to 'source3/smbd/dosmode.c')
-rw-r--r-- | source3/smbd/dosmode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index ca926aa33c..d3df80ad91 100644 --- 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; } |