From 2a0222226a07a8ac8b3ea5c24591421b43bd2ef0 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 31 Jan 2022 21:21:42 +0100 Subject: Clarified some potentially mistakable code in cSectionHandler::SetStatus() --- sections.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sections.c') 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; -- cgit v1.2.3