1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

s3: Fix two arguments that broke when plumbing smb_filneame through dos_mode()

This commit is contained in:
Tim Prouty 2009-07-09 15:56:36 -07:00
parent c624a704be
commit f1fad2efe4

View File

@ -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;
}