[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-290-gf1fad2e

Tim Prouty tprouty at samba.org
Thu Jul 9 22:58:32 GMT 2009


The branch, master has been updated
       via  f1fad2efe4daf95ad77db6251ad5d77fb9ef755c (commit)
      from  c624a704be96488f0aee27930cbd4c8d99df464b (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f1fad2efe4daf95ad77db6251ad5d77fb9ef755c
Author: Tim Prouty <tprouty at samba.org>
Date:   Thu Jul 9 15:56:36 2009 -0700

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

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/dosmode.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c
index ca926aa..d3df80a 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;
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list