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/lib/time.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/lib/time.c')
-rw-r--r-- | source3/lib/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c index 98ab0c78d4..30ad1ec9a0 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -250,7 +250,7 @@ struct timespec interpret_long_date(const char *p) ret.tv_nsec = 0; return ret; } - return nt_time_to_unix_timespec(&nt); + return nt_time_to_unix_timespec(nt); } /******************************************************************* |