event/TimeoutMonitor: really reset "active" flag before invoking OnTimeout()

The previous commit was broken.  D'oh!
This commit is contained in:
Max Kellermann 2014-08-24 13:19:50 +02:00
parent d16fb79708
commit f06fe1ea98

View File

@ -65,7 +65,7 @@ void
TimeoutMonitor::Run() TimeoutMonitor::Run()
{ {
#ifdef USE_EPOLL #ifdef USE_EPOLL
active = true; active = false;
#else #else
Cancel(); Cancel();
#endif #endif