diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-06 13:49:01 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-06 13:49:01 +0200 |
commit | b3c1f1bb7362825f0bb08dbae11b28d2d74649ae (patch) | |
tree | 742eef6a747388618688125ca5783bba2efba420 /svdrp.c | |
parent | 6db0e99996db866ae7d611d1bdc5c285fc03b14e (diff) | |
download | vdr-b3c1f1bb7362825f0bb08dbae11b28d2d74649ae.tar.gz vdr-b3c1f1bb7362825f0bb08dbae11b28d2d74649ae.tar.bz2 |
Automatically deleting duplicate channels when reading channels.conf
Diffstat (limited to 'svdrp.c')
-rw-r--r-- | svdrp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ * and interact with the Video Disk Recorder - or write a full featured * graphical interface that sits on top of an SVDRP connection. * - * $Id: svdrp.c 1.69 2005/03/20 15:04:00 kls Exp $ + * $Id: svdrp.c 1.70 2005/05/06 13:47:39 kls Exp $ */ #include "svdrp.h" @@ -875,7 +875,7 @@ void cSVDRP::CmdMODC(const char *Option) cChannel *channel = Channels.GetByNumber(n); if (channel) { cChannel ch; - if (ch.Parse(tail, true)) { + if (ch.Parse(tail)) { if (Channels.HasUniqueChannelID(&ch, channel)) { *channel = ch; Channels.ReNumber(); @@ -948,7 +948,7 @@ void cSVDRP::CmdNEWC(const char *Option) { if (*Option) { cChannel ch; - if (ch.Parse(Option, true)) { + if (ch.Parse(Option)) { if (Channels.HasUniqueChannelID(&ch)) { cChannel *channel = new cChannel; *channel = ch; |