summaryrefslogtreecommitdiff
path: root/sections.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2022-01-31 21:21:42 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2022-01-31 21:21:42 +0100
commit2a0222226a07a8ac8b3ea5c24591421b43bd2ef0 (patch)
tree10a5b697fd854f7b9b40500a544de8aace0beca1 /sections.c
parent50c3951017411eabb5a14f43ccca91cd564f4d3a (diff)
downloadvdr-2a0222226a07a8ac8b3ea5c24591421b43bd2ef0.tar.gz
vdr-2a0222226a07a8ac8b3ea5c24591421b43bd2ef0.tar.bz2
Clarified some potentially mistakable code in cSectionHandler::SetStatus()
Diffstat (limited to 'sections.c')
-rw-r--r--sections.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sections.c b/sections.c
index 88935c7b..51a2823c 100644
--- a/sections.c
+++ b/sections.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: sections.c 5.2 2021/06/20 10:27:19 kls Exp $
+ * $Id: sections.c 5.3 2022/01/31 21:21:42 kls Exp $
*/
#include "sections.h"
@@ -155,7 +155,8 @@ void cSectionHandler::SetStatus(bool On)
if (On)
fi->SetStatus(true);
}
- if (flush = On)
+ flush = On;
+ if (flush)
flushTimer.Set();
on = On;
waitForLock = false;