From 6395bc55db6b5926c42d3419084a6ccc1256c9c7 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Thu, 25 Jun 2009 18:40:17 -0700 Subject: s3: pass a valid stat into file_ntimes() file_ntimes() calls can_write_to_file() which expects a valid stat struct --- source3/include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 731934d714..3da1caf60b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6224,7 +6224,7 @@ int file_set_dosmode(connection_struct *conn, const char *fname, const char *parent_dir, bool newfile); int file_ntimes(connection_struct *conn, const char *fname, - struct smb_file_time *ft); + struct smb_file_time *ft, const SMB_STRUCT_STAT *psbuf); bool set_sticky_write_time_path(connection_struct *conn, const char *fname, struct file_id fileid, const struct timespec mtime); bool set_sticky_write_time_fsp(struct files_struct *fsp, const struct timespec mtime); -- cgit