diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-10-14 22:54:08 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-10-14 22:54:08 +0000 |
commit | 805729e206b7586c57483aa0f4a90f7e0e2c9661 (patch) | |
tree | 4d4afb75b73cd11c953853faa48dc4cc7f236380 /src/libstddjb/tai_from_utc.c | |
parent | 2e0421fc58922697f2bb51c428599fbd44055556 (diff) | |
download | skalibs-805729e206b7586c57483aa0f4a90f7e0e2c9661.tar.xz |
- Remove /etc/leapsecs.datv2.3.8.0
- Publish tools to create the leap second table as a .c
- Simplify functions using leap seconds
- rc for 2.3.8.0
Diffstat (limited to 'src/libstddjb/tai_from_utc.c')
-rw-r--r-- | src/libstddjb/tai_from_utc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/tai_from_utc.c b/src/libstddjb/tai_from_utc.c index c5dc62d..3f4d5ec 100644 --- a/src/libstddjb/tai_from_utc.c +++ b/src/libstddjb/tai_from_utc.c @@ -7,6 +7,6 @@ int tai_from_utc (tai_t *t, uint64 u) { - if (leapsecs_add(&u, 0) < 0) return 0 ; + leapsecs_add(&u, 0) ; return tai_u64(t, u + 10) ; } |