summaryrefslogtreecommitdiff
path: root/eitscan.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2019-03-12 11:47:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2019-03-12 11:47:36 +0100
commit61ea56a1bd5e1aabe587155f1db613cdbaf8b753 (patch)
tree50334da49b2b9281dbcb158844412dfe7575d423 /eitscan.c
parent235c65264801e950aa481dc6b3f78f112a64f1c6 (diff)
downloadvdr-61ea56a1bd5e1aabe587155f1db613cdbaf8b753.tar.gz
vdr-61ea56a1bd5e1aabe587155f1db613cdbaf8b753.tar.bz2
Fixed processing the last entry in the scan list of the EIT scanner
Diffstat (limited to 'eitscan.c')
-rw-r--r--eitscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eitscan.c b/eitscan.c
index 41ac25e2..1ff8b954 100644
--- a/eitscan.c
+++ b/eitscan.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: eitscan.c 4.2 2015/09/10 11:05:03 kls Exp $
+ * $Id: eitscan.c 4.3 2019/03/12 11:46:05 kls Exp $
*/
#include "eitscan.h"
@@ -177,7 +177,7 @@ void cEITScanner::Process(void)
}
}
}
- if (!scanList->Count() || !AnyDeviceSwitched) {
+ if (!AnyDeviceSwitched) {
delete scanList;
scanList = NULL;
if (lastActivity == 0) // this was a triggered scan