From: Simon Arlott Date: Wed, 21 Apr 2021 16:11:13 +0000 (+0100) Subject: Fix time usage on non-subtick-resolution platforms X-Git-Tag: exim-4.95-RC0~68 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/b9ab1e966ed95017bd6fc45acd04e09ec0c128ed Fix time usage on non-subtick-resolution platforms --- diff --git a/src/src/exim.c b/src/src/exim.c index 8526cbbf3..a3983f88d 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -496,7 +496,7 @@ while (exim_tvcmp(&now_tv, tgt_tv) <= 0) /* Be prapared to go around if the kernel does not implement subtick granularity (GNU Hurd) */ - (void)gettimeofday(&now_tv, NULL); + exim_gettime(&now_tv); now_true_usec = now_tv.tv_usec; now_tv.tv_usec = (now_true_usec/resolution) * resolution; }