diff options
author | Max Kellermann <max@duempel.org> | 2014-08-24 13:19:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-24 13:19:50 +0200 |
commit | f06fe1ea98ff144f12e9da9a51cdb0c39737b810 (patch) | |
tree | 777a6f3efbb6c9c25b69c5977230985efff84f4e /src/event | |
parent | d16fb797088e32cccecd6373fbe5eaefff423de2 (diff) | |
download | mpd-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!
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/TimeoutMonitor.cxx | 2 |
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 |