projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eaffb4
)
Update "now" in kevent ioset back-end.
author
Michael Poole
<mdpoole@troilus.org>
Wed, 30 Jul 2008 23:50:27 +0000
(19:50 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Wed, 30 Jul 2008 23:50:27 +0000
(19:50 -0400)
src/ioset-kevent.c (ioset_kevent_loop): Update now after kevent() returns.
src/ioset-kevent.c
patch
|
blob
|
history
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) {