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/libsmb/cli_smb2_fnum.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/libsmb/cli_smb2_fnum.c')
-rw-r--r-- | source3/libsmb/cli_smb2_fnum.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/cli_smb2_fnum.c b/source3/libsmb/cli_smb2_fnum.c index e4dfbf319e..3fdd49a74f 100644 --- a/source3/libsmb/cli_smb2_fnum.c +++ b/source3/libsmb/cli_smb2_fnum.c @@ -822,9 +822,9 @@ NTSTATUS cli_smb2_qpathinfo_basic(struct cli_state *cli, ZERO_STRUCTP(sbuf); - sbuf->st_ex_atime = nt_time_to_unix_timespec(&cr.last_access_time); - sbuf->st_ex_mtime = nt_time_to_unix_timespec(&cr.last_write_time); - sbuf->st_ex_ctime = nt_time_to_unix_timespec(&cr.change_time); + sbuf->st_ex_atime = nt_time_to_unix_timespec(cr.last_access_time); + sbuf->st_ex_mtime = nt_time_to_unix_timespec(cr.last_write_time); + sbuf->st_ex_ctime = nt_time_to_unix_timespec(cr.change_time); sbuf->st_ex_size = cr.end_of_file; *attributes = cr.file_attributes; |