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, static bool mbx_delimit_begin (FILE *mbf) { - time_t now = time (NULL); + time_t now = current_timespec ().tv_sec; struct tm *ltime = localtime (&now); if (!ltime) return false;