summaryrefslogtreecommitdiff
path: root/epg.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-03-31 15:24:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-03-31 15:24:35 +0200
commitd6f57259fa570f706fc412f9c0de925097edda09 (patch)
tree8360391abd7ee8a3abfc531f24f84bcb67b03345 /epg.c
parent112bfa589791ab19627a43bed989b1fa2a4667b4 (diff)
downloadvdr-d6f57259fa570f706fc412f9c0de925097edda09.tar.gz
vdr-d6f57259fa570f706fc412f9c0de925097edda09.tar.bz2
The function cEpgHandlers::BeginSegmentTransfer() is now boolean
Diffstat (limited to 'epg.c')
-rw-r--r--epg.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/epg.c b/epg.c
index 4297350e..7cf7cdbc 100644
--- a/epg.c
+++ b/epg.c
@@ -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)