git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix time usage on non-subtick-resolution platforms
[exim.git]
/
src
/
src
/
exim.c
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;
}