diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-03-31 15:24:35 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-03-31 15:24:35 +0200 |
commit | d6f57259fa570f706fc412f9c0de925097edda09 (patch) | |
tree | 8360391abd7ee8a3abfc531f24f84bcb67b03345 /epg.c | |
parent | 112bfa589791ab19627a43bed989b1fa2a4667b4 (diff) | |
download | vdr-d6f57259fa570f706fc412f9c0de925097edda09.tar.gz vdr-d6f57259fa570f706fc412f9c0de925097edda09.tar.bz2 |
The function cEpgHandlers::BeginSegmentTransfer() is now boolean
Diffstat (limited to 'epg.c')
-rw-r--r-- | epg.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -7,7 +7,7 @@ * Original version (as used in VDR before 1.3.0) written by * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * - * $Id: epg.c 4.2 2015/09/10 10:58:19 kls Exp $ + * $Id: epg.c 4.3 2017/03/31 15:16:46 kls Exp $ */ #include "epg.h" @@ -1527,12 +1527,13 @@ void cEpgHandlers::DropOutdated(cSchedule *Schedule, time_t SegmentStart, time_t Schedule->DropOutdated(SegmentStart, SegmentEnd, TableID, Version); } -void cEpgHandlers::BeginSegmentTransfer(const cChannel *Channel) +bool cEpgHandlers::BeginSegmentTransfer(const cChannel *Channel) { for (cEpgHandler *eh = First(); eh; eh = Next(eh)) { - if (eh->BeginSegmentTransfer(Channel, false)) - return; + if (!eh->BeginSegmentTransfer(Channel, false)) + return false; } + return true; } void cEpgHandlers::EndSegmentTransfer(bool Modified) |