diff options
author | horchi <vdr@jwendel.de> | 2017-06-22 06:30:01 +0200 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-06-22 06:30:01 +0200 |
commit | 7995f55519cdbda69c8997ee8c0ab444ade2e3f3 (patch) | |
tree | 4e700c5e7a14ddcb6a76dc11b5a9b2eb5317d1c9 /update.c | |
parent | 1ab2b56758d06c5460a25cd55ce471c98ee78d72 (diff) | |
download | vdr-plugin-epg2vdr-7995f55519cdbda69c8997ee8c0ab444ade2e3f3.tar.gz vdr-plugin-epg2vdr-7995f55519cdbda69c8997ee8c0ab444ade2e3f3.tar.bz2 |
2017-06-22 version 1.1.70 (horchi)\n - change: Fixed possible crash with unknown channels on wrong configuration\n\n1.1.70
Diffstat (limited to 'update.c')
-rw-r--r-- | update.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1500,10 +1500,10 @@ int cUpdate::refreshEpg(const char* forChannelId, int maxTries) // get channel and schedule of channel - if (channel = channels->GetByChannelID(channelId, true)) + if (channelId && 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", (const char*)channelId.ToString()); + tell(0, "Error: Channel with ID '%s' don't exist on this VDR", mapDb->getStrValue("ChannelId")); if (!schedules || !channels || !timers || !s) { |