summaryrefslogtreecommitdiffstats
path: root/source3/lib/time.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
commitdcd6373613622852181a4dacdcf92ec2b9cb0112 (patch)
treee3bdc03bc94f4d9b5bb056174c021fff2a78780b /source3/lib/time.c
parent9f3e89446847425881e07cafadddc2af8723e8c2 (diff)
downloadsamba-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/lib/time.c')
-rw-r--r--source3/lib/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index dab9b3167a..98ab0c78d4 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -172,7 +172,7 @@ void put_long_date_timespec(enum timestamp_set_resolution res, char *p, struct t
{
NTTIME nt;
round_timespec(res, &ts);
- unix_timespec_to_nt_time(&nt, ts);
+ nt = unix_timespec_to_nt_time(ts);
SBVAL(p, 0, nt);
}