aboutsummaryrefslogtreecommitdiff
path: root/blaze822.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-08-08 16:28:25 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-08-08 16:28:25 +0200
commitd458439970caffc3bdebc3c139f29e02b285db55 (patch)
treea0bde4845187c09f37321e66e0aaec27351423ea /blaze822.c
parent20dae518c4abaac33226b5e8ae85d0de1a1b226e (diff)
downloadmblaze-d458439970caffc3bdebc3c139f29e02b285db55.tar.gz
import and use timegm from musl
It's ridiculous this function is not in the standards.
Diffstat (limited to 'blaze822.c')
-rw-r--r--blaze822.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blaze822.c b/blaze822.c
index 5a98915..9a596b6 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -121,7 +121,7 @@ blaze822_date(char *s) {
tm.tm_isdst = -1;
- time_t r = mktime(&tm);
+ time_t r = tm_to_secs(&tm);
return r;
fail: