git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
535c964
)
Fix time usage on non-subtick-resolution platforms
author
Simon Arlott
<sa.me.uk>
Wed, 21 Apr 2021 16:11:13 +0000
(17:11 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 21 Apr 2021 16:12:58 +0000
(17:12 +0100)
src/src/exim.c
patch
|
blob
|
history
diff --git
a/src/src/exim.c
b/src/src/exim.c
index 8526cbbf38bd345543c603f585908498efa810ae..a3983f88d02594162bc88910e4c3a540c0e7387d 100644
(file)
--- 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;
}