summaryrefslogtreecommitdiff
path: root/timers.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-10-12 10:35:22 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-10-12 10:35:22 +0200
commit57239b827177de72b317191f624238caa19d78fa (patch)
treed9c08b696287115152245c1911103b2a2842a8ba /timers.c
parentd14de196e8f47ed926a4f30c82bc7eb81c0a6af1 (diff)
downloadvdr-57239b827177de72b317191f624238caa19d78fa.tar.gz
vdr-57239b827177de72b317191f624238caa19d78fa.tar.bz2
Now trying to get a timer's channel without RID when loading 'timers.conf'
Diffstat (limited to 'timers.c')
-rw-r--r--timers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/timers.c b/timers.c
index 15429427..a4ab3c16 100644
--- a/timers.c
+++ b/timers.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.c 1.5 2003/05/11 13:48:49 kls Exp $
+ * $Id: timers.c 1.6 2003/10/12 10:33:09 kls Exp $
*/
#include "timers.h"
@@ -217,7 +217,7 @@ bool cTimer::Parse(const char *s)
strreplace(file, '|', ':');
strreplace(summary, '|', '\n');
tChannelID cid = tChannelID::FromString(channelbuffer);
- channel = cid.Valid() ? Channels.GetByChannelID(cid) : Channels.GetByNumber(atoi(channelbuffer));
+ channel = cid.Valid() ? Channels.GetByChannelID(cid, true) : Channels.GetByNumber(atoi(channelbuffer));
if (!channel) {
esyslog("ERROR: channel %s not defined", channelbuffer);
result = false;