diff options
author | Leah Neukirchen <leah@vuxu.org> | 2021-05-09 16:02:06 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2021-05-09 22:00:32 +0200 |
commit | ce900601cb88a554df6a379e42da8a89ee59c65a (patch) | |
tree | a5d342a3ec4811460ba390a1ccce57769acfffd5 /mexport.c | |
parent | 41c681362d629a27ffb050f55dfaf91b5eebab35 (diff) | |
download | mblaze-ce900601cb88a554df6a379e42da8a89ee59c65a.tar.gz mblaze-ce900601cb88a554df6a379e42da8a89ee59c65a.tar.xz mblaze-ce900601cb88a554df6a379e42da8a89ee59c65a.zip |
mexport: default timestamp to unix second 0, not -1
This is better recognizable as "no data".
Diffstat (limited to 'mexport.c')
-rw-r--r-- | mexport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mexport.c b/mexport.c index 27dc40f..20ad2e1 100644 --- a/mexport.c +++ b/mexport.c @@ -33,7 +33,7 @@ export(char *file) } char from[1024] = "nobody"; - time_t date = -1; + time_t date = 0; if (fseek(infile, 0L, SEEK_SET) && errno == ESPIPE) { date = time(0); |