aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-24 13:19:50 +0200
committerMax Kellermann <max@duempel.org>2014-08-24 13:19:50 +0200
commitf06fe1ea98ff144f12e9da9a51cdb0c39737b810 (patch)
tree777a6f3efbb6c9c25b69c5977230985efff84f4e
parentd16fb797088e32cccecd6373fbe5eaefff423de2 (diff)
downloadmpd-f06fe1ea98ff144f12e9da9a51cdb0c39737b810.tar.gz
mpd-f06fe1ea98ff144f12e9da9a51cdb0c39737b810.tar.xz
mpd-f06fe1ea98ff144f12e9da9a51cdb0c39737b810.zip
event/TimeoutMonitor: really reset "active" flag before invoking OnTimeout()
The previous commit was broken. D'oh!
-rw-r--r--src/event/TimeoutMonitor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/TimeoutMonitor.cxx b/src/event/TimeoutMonitor.cxx
index b1e7174eb..003b5b78f 100644
--- a/src/event/TimeoutMonitor.cxx
+++ b/src/event/TimeoutMonitor.cxx
@@ -65,7 +65,7 @@ void
TimeoutMonitor::Run()
{
#ifdef USE_EPOLL
- active = true;
+ active = false;
#else
Cancel();
#endif