diff options
author | Volker Lendecke <vl@samba.org> | 2014-06-18 12:21:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-06-30 22:28:14 +0200 |
commit | dcd6373613622852181a4dacdcf92ec2b9cb0112 (patch) | |
tree | e3bdc03bc94f4d9b5bb056174c021fff2a78780b /source3/smbd/dosmode.c | |
parent | 9f3e89446847425881e07cafadddc2af8723e8c2 (diff) | |
download | samba-dcd6373613622852181a4dacdcf92ec2b9cb0112.tar.gz |
lib: Align unix_timespec_to_nt_time with nt_time_to_unix_timespec
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/dosmode.c')
-rw-r--r-- | source3/smbd/dosmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index 6a6f673750b..b31b472e904 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -399,7 +399,7 @@ static bool set_ea_dos_attribute(connection_struct *conn, dosattrib.info.info3.valid_flags = XATTR_DOSINFO_ATTRIB| XATTR_DOSINFO_CREATE_TIME; dosattrib.info.info3.attrib = dosmode; - unix_timespec_to_nt_time(&dosattrib.info.info3.create_time, + dosattrib.info.info3.create_time = unix_timespec_to_nt_time( smb_fname->st.st_ex_btime); DEBUG(10,("set_ea_dos_attributes: set attribute 0x%x, btime = %s on file %s\n", |