diff options
Diffstat (limited to 'src/libstddjb/utc_from_tai.c')
-rw-r--r-- | src/libstddjb/utc_from_tai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/utc_from_tai.c b/src/libstddjb/utc_from_tai.c index 80d2763..1e5e094 100644 --- a/src/libstddjb/utc_from_tai.c +++ b/src/libstddjb/utc_from_tai.c @@ -10,7 +10,7 @@ int utc_from_tai (uint64 *u, tai_t const *t) { uint64 tt = t->x - 10 ; if (t->x < 10U) return (errno = EINVAL, 0) ; - if (leapsecs_sub(&tt) < 0) return 0 ; + leapsecs_sub(&tt) ; *u = tt ; return 1 ; } |