summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/cli_smb2_fnum.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-06-18 12:21:06 +0000
committerJeremy Allison <jra@samba.org>2014-06-30 22:28:14 +0200
commit379cbb6397ce6228cf02125f4f29b2438b384d1c (patch)
tree9ca15d4b93ca15a37d55dc8dd038bf6839725e49 /source3/libsmb/cli_smb2_fnum.c
parentdcd6373613622852181a4dacdcf92ec2b9cb0112 (diff)
downloadsamba-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.c6
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;