summaryrefslogtreecommitdiff
path: root/source.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-05-23 17:48:33 +0200
committerJochen Dolze <vdr@dolze.de>2012-05-23 17:48:33 +0200
commit113de854e04f8de0a6a4680ce29279ef21a6c0a8 (patch)
treebcd833feb3ded25994d8fa1a2f9fafaaa67e35df /source.cpp
parentd7a0219774cceb0b2645af21f5c489a37287097a (diff)
downloadvdr-plugin-xmltv2vdr-113de854e04f8de0a6a4680ce29279ef21a6c0a8.tar.gz
vdr-plugin-xmltv2vdr-113de854e04f8de0a6a4680ce29279ef21a6c0a8.tar.bz2
Added patch from Der_Pit to epgdata2xmltv
Diffstat (limited to 'source.cpp')
-rw-r--r--source.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/source.cpp b/source.cpp
index 1002758..d8b5d63 100644
--- a/source.cpp
+++ b/source.cpp
@@ -84,11 +84,10 @@ void cEPGExecutor::Action()
}
}
- int ret=1;
if (forceimportsrc>=0)
{
cEPGSource *epgs=sources->Get(forceimportsrc);
- if (epgs) ret=epgs->Import(*this);
+ if (epgs) epgs->Import(*this);
}
else
{
@@ -96,7 +95,7 @@ void cEPGExecutor::Action()
{
if (!epgs->LastRetCode())
{
- ret=epgs->Import(*this);
+ epgs->Import(*this);
break; // only import from the first successful source!
}
}