summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-17 11:50:21 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-17 11:50:21 +0200
commit30dfd2e7019b9727ca761440b1ec4fe511a1143a (patch)
tree4585d38742a0202bc5f1973dab63c158369c54c3 /svdrp.c
parenteb18d4a5b0748c3b5d8408fe025eeff332fd64e7 (diff)
downloadvdr-30dfd2e7019b9727ca761440b1ec4fe511a1143a.tar.gz
vdr-30dfd2e7019b9727ca761440b1ec4fe511a1143a.tar.bz2
Now only saving channels.conf after a modification made by the user
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/svdrp.c b/svdrp.c
index 87f146e5..788b1682 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.63 2004/06/13 13:38:38 kls Exp $
+ * $Id: svdrp.c 1.64 2004/10/17 10:28:47 kls Exp $
*/
#include "svdrp.h"
@@ -484,7 +484,7 @@ void cSVDRP::CmdDELC(const char *Option)
}
Channels.Del(channel);
Channels.ReNumber();
- Channels.SetModified();
+ Channels.SetModified(true);
isyslog("channel %s deleted", Option);
Reply(250, "Channel \"%s\" deleted", Option);
}
@@ -876,7 +876,7 @@ void cSVDRP::CmdMODC(const char *Option)
if (Channels.HasUniqueChannelID(&ch, channel)) {
*channel = ch;
Channels.ReNumber();
- Channels.SetModified();
+ Channels.SetModified(true);
isyslog("modifed channel %d %s", channel->Number(), channel->ToText());
Reply(250, "%d %s", channel->Number(), channel->ToText());
}
@@ -951,7 +951,7 @@ void cSVDRP::CmdNEWC(const char *Option)
*channel = ch;
Channels.Add(channel);
Channels.ReNumber();
- Channels.SetModified();
+ Channels.SetModified(true);
isyslog("new channel %d %s", channel->Number(), channel->ToText());
Reply(250, "%d %s", channel->Number(), channel->ToText());
}