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/client | |
| parent | 9f3e89446847425881e07cafadddc2af8723e8c2 (diff) | |
| download | samba-dcd6373613622852181a4dacdcf92ec2b9cb0112.tar.gz samba-dcd6373613622852181a4dacdcf92ec2b9cb0112.tar.xz samba-dcd6373613622852181a4dacdcf92ec2b9cb0112.zip | |
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/client')
| -rw-r--r-- | source3/client/client.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 17985b9d2b..c90c450447 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1725,16 +1725,16 @@ static int do_allinfo(const char *name) return false; } - unix_timespec_to_nt_time(&tmp, b_time); + tmp = unix_timespec_to_nt_time(b_time); d_printf("create_time: %s\n", nt_time_string(talloc_tos(), tmp)); - unix_timespec_to_nt_time(&tmp, a_time); + tmp = unix_timespec_to_nt_time(a_time); d_printf("access_time: %s\n", nt_time_string(talloc_tos(), tmp)); - unix_timespec_to_nt_time(&tmp, m_time); + tmp = unix_timespec_to_nt_time(m_time); d_printf("write_time: %s\n", nt_time_string(talloc_tos(), tmp)); - unix_timespec_to_nt_time(&tmp, c_time); + tmp = unix_timespec_to_nt_time(c_time); d_printf("change_time: %s\n", nt_time_string(talloc_tos(), tmp)); d_printf("attributes: %s (%x)\n", attr_str(talloc_tos(), mode), mode); @@ -1804,13 +1804,13 @@ static int do_allinfo(const char *name) TALLOC_FREE(snap_name); continue; } - unix_timespec_to_nt_time(&tmp, b_time); + tmp = unix_timespec_to_nt_time(b_time); d_printf("create_time: %s\n", nt_time_string(talloc_tos(), tmp)); - unix_timespec_to_nt_time(&tmp, a_time); + tmp = unix_timespec_to_nt_time(a_time); d_printf("access_time: %s\n", nt_time_string(talloc_tos(), tmp)); - unix_timespec_to_nt_time(&tmp, m_time); + tmp =unix_timespec_to_nt_time(m_time); d_printf("write_time: %s\n", nt_time_string(talloc_tos(), tmp)); - unix_timespec_to_nt_time(&tmp, c_time); + tmp = unix_timespec_to_nt_time(c_time); d_printf("change_time: %s\n", nt_time_string(talloc_tos(), tmp)); d_printf("size: %d\n", (int)size); } |
