From ce900601cb88a554df6a379e42da8a89ee59c65a Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 9 May 2021 16:02:06 +0200 Subject: mexport: default timestamp to unix second 0, not -1 This is better recognizable as "no data". --- mexport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit 1.4.1