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 | 379cbb6397ce6228cf02125f4f29b2438b384d1c (patch) | |
tree | 9ca15d4b93ca15a37d55dc8dd038bf6839725e49 /source3/smbd/dosmode.c | |
parent | dcd6373613622852181a4dacdcf92ec2b9cb0112 (diff) | |
download | samba-379cbb6397ce6228cf02125f4f29b2438b384d1c.tar.gz samba-379cbb6397ce6228cf02125f4f29b2438b384d1c.tar.xz samba-379cbb6397ce6228cf02125f4f29b2438b384d1c.zip |
lib: Align nt_time_to_unix_timespec with unix_timespec_to_nt_time
Both take and return values now
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index b31b472e90..2e6871191b 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -319,7 +319,7 @@ static bool get_ea_dos_attribute(connection_struct *conn, if (!null_nttime(dosattrib.info.info1.create_time)) { struct timespec create_time = nt_time_to_unix_timespec( - &dosattrib.info.info1.create_time); + dosattrib.info.info1.create_time); update_stat_ex_create_time(&smb_fname->st, create_time); @@ -341,7 +341,7 @@ static bool get_ea_dos_attribute(connection_struct *conn, !null_nttime(dosattrib.info.info3.create_time)) { struct timespec create_time = nt_time_to_unix_timespec( - &dosattrib.info.info3.create_time); + dosattrib.info.info3.create_time); update_stat_ex_create_time(&smb_fname->st, create_time); |