diff --git a/event.c b/event.c index ae6c36e6..6eb5db05 100644 --- a/event.c +++ b/event.c @@ -915,6 +915,8 @@ timeout_correct(struct event_base *base, struct timeval *tv) struct timeval *ev_tv = &(**pev).ev_timeout; evutil_timersub(ev_tv, &off, ev_tv); } + /* Now remember what the new time turned out to be. */ + base->event_tv = *tv; } void