summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-09-14 13:23:06 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-09-14 13:23:06 +0200
commit8a09e90f024a9187633de89cb57fb6f6d409d4e3 (patch)
treedd0ad24fa7d46b943df98ebcfedc62860d8f107a /svdrp.c
parentbfc3f1f4b2be0cad91d3aa8781c564ff20927063 (diff)
downloadvdr-8a09e90f024a9187633de89cb57fb6f6d409d4e3.tar.gz
vdr-8a09e90f024a9187633de89cb57fb6f6d409d4e3.tar.bz2
Fixed handling remote timers
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/svdrp.c b/svdrp.c
index 8b2e04ce..1a24d296 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 4.8 2015/09/13 13:57:51 kls Exp $
+ * $Id: svdrp.c 4.9 2015/09/14 13:23:06 kls Exp $
*/
#include "svdrp.h"
@@ -2000,6 +2000,7 @@ void cSVDRPServer::CmdNEWT(const char *Option)
cTimer *Timer = new cTimer;
if (Timer->Parse(Option)) {
LOCK_TIMERS_WRITE;
+ Timer->ClrFlags(tfRecording);
Timers->Add(Timer);
isyslog("SVDRP < %s added timer %s", *connection, *Timer->ToDescr());
Reply(250, "%d %s", Timer->Id(), *Timer->ToText(true));