summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Arlott <sa.me.uk>2021-04-21 17:11:13 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-04-21 17:12:58 +0100
commitb9ab1e966ed95017bd6fc45acd04e09ec0c128ed (patch)
treed45fda9e3632f76b75a0c429039bbcc88507e0d8
parent535c964b8a4855448b8cc39ec301831a2b96c3a9 (diff)
Fix time usage on non-subtick-resolution platforms
-rw-r--r--src/src/exim.c2
1 files changed, 1 insertions, 1 deletions
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;
}