From 8a09e90f024a9187633de89cb57fb6f6d409d4e3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 14 Sep 2015 13:23:06 +0200 Subject: Fixed handling remote timers --- svdrp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'svdrp.c') 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)); -- cgit v1.2.3