aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/movemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index 8119046a916..972ab7156fa 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -846,7 +846,7 @@ movemail_strftime (char *s, size_t size, char const *format,
846static bool 846static bool
847mbx_delimit_begin (FILE *mbf) 847mbx_delimit_begin (FILE *mbf)
848{ 848{
849 time_t now = time (NULL); 849 time_t now = current_timespec ().tv_sec;
850 struct tm *ltime = localtime (&now); 850 struct tm *ltime = localtime (&now);
851 if (!ltime) 851 if (!ltime)
852 return false; 852 return false;