diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2022-01-31 21:21:42 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2022-01-31 21:21:42 +0100 |
commit | 2a0222226a07a8ac8b3ea5c24591421b43bd2ef0 (patch) | |
tree | 10a5b697fd854f7b9b40500a544de8aace0beca1 /sections.c | |
parent | 50c3951017411eabb5a14f43ccca91cd564f4d3a (diff) | |
download | vdr-2a0222226a07a8ac8b3ea5c24591421b43bd2ef0.tar.gz vdr-2a0222226a07a8ac8b3ea5c24591421b43bd2ef0.tar.bz2 |
Clarified some potentially mistakable code in cSectionHandler::SetStatus()
Diffstat (limited to 'sections.c')
-rw-r--r-- | sections.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |