aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-05-09 16:02:06 +0200
committerLeah Neukirchen <leah@vuxu.org>2021-05-09 22:00:32 +0200
commitce900601cb88a554df6a379e42da8a89ee59c65a (patch)
treea5d342a3ec4811460ba390a1ccce57769acfffd5
parent41c681362d629a27ffb050f55dfaf91b5eebab35 (diff)
downloadmblaze-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".
-rw-r--r--mexport.c2
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);