A couple missed tevent things.

(Sorry; had a couple changes queued.)
This commit is contained in:
Scott Lamb 2007-02-27 01:30:57 +00:00
parent 6362b12df7
commit 834290b00f
3 changed files with 6 additions and 6 deletions

View file

@ -422,14 +422,14 @@ int main_loop(void)
}
while((event = get_expired_event())) {
while((event = get_expired_tevent())) {
event->handler(event->data);
free_event(event);
free_tevent(event);
}
if(sigalrm) {
logger(LOG_INFO, _("Flushing event queue"));
flush_events();
flush_tevents();
sigalrm = false;
}