summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-05-06 13:49:01 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-05-06 13:49:01 +0200
commitb3c1f1bb7362825f0bb08dbae11b28d2d74649ae (patch)
tree742eef6a747388618688125ca5783bba2efba420 /svdrp.c
parent6db0e99996db866ae7d611d1bdc5c285fc03b14e (diff)
downloadvdr-b3c1f1bb7362825f0bb08dbae11b28d2d74649ae.tar.gz
vdr-b3c1f1bb7362825f0bb08dbae11b28d2d74649ae.tar.bz2
Automatically deleting duplicate channels when reading channels.conf
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/svdrp.c b/svdrp.c
index 71015023..5104026f 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -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;