summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-06-22 06:53:01 +0200
committerhorchi <vdr@jwendel.de>2017-06-22 06:53:01 +0200
commit5c3837c9729607b911011597f2b1c1869d54a714 (patch)
treebf3a6b0e912d13086f7e4e395db567155b35fef2
parent7995f55519cdbda69c8997ee8c0ab444ade2e3f3 (diff)
downloadvdr-plugin-epg2vdr-5c3837c9729607b911011597f2b1c1869d54a714.tar.gz
vdr-plugin-epg2vdr-5c3837c9729607b911011597f2b1c1869d54a714.tar.bz2
fixed compile error
-rw-r--r--update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.c b/update.c
index a470992..ed3547e 100644
--- a/update.c
+++ b/update.c
@@ -1500,7 +1500,7 @@ int cUpdate::refreshEpg(const char* forChannelId, int maxTries)
// get channel and schedule of channel
- if (channelId && channel = channels->GetByChannelID(channelId, true))
+ if (channel = channels->GetByChannelID(channelId, true))
s = (cSchedule*)schedules->GetSchedule(channel, true);
else
tell(0, "Error: Channel with ID '%s' don't exist on this VDR", mapDb->getStrValue("ChannelId"));