projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update "now" in kevent ioset back-end.
[srvx.git]
/
src
/
ioset-kevent.c
diff --git
a/src/ioset-kevent.c
b/src/ioset-kevent.c
index a88970b059c4155df4fcbc631bb791210e081a7d..5d6f0bbb10463c36634cdbfdb3e455a057986f95 100644
(file)
--- a/
src/ioset-kevent.c
+++ b/
src/ioset-kevent.c
@@
-106,6
+106,7
@@
ioset_kevent_loop(struct timeval *timeout)
log_module(MAIN_LOG, LOG_ERROR, "kevent() poll failed: %s", strerror(errno));
return 1;
}
+ now = time(NULL) + clock_skew;
/* Process the events we got. */
for (ii = 0; ii < res; ++ii) {