diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-09-13 13:57:51 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-09-13 13:57:51 +0200 |
commit | bfc3f1f4b2be0cad91d3aa8781c564ff20927063 (patch) | |
tree | a32ab036015018fa2999c942376b48a53b243e50 /svdrp.c | |
parent | 2b20b9e064413cec0d6999ed545ebd7d9c7b1f2c (diff) | |
download | vdr-bfc3f1f4b2be0cad91d3aa8781c564ff20927063.tar.gz vdr-bfc3f1f4b2be0cad91d3aa8781c564ff20927063.tar.bz2 |
Fixed moving currently recording timers between machines
Diffstat (limited to 'svdrp.c')
-rw-r--r-- | svdrp.c | 8 |
1 files changed, 4 insertions, 4 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 4.7 2015/09/10 10:39:45 kls Exp $ + * $Id: svdrp.c 4.8 2015/09/13 13:57:51 kls Exp $ */ #include "svdrp.h" @@ -1858,7 +1858,7 @@ void cSVDRPServer::CmdMODT(const char *Option) *Timer = t; Timers->SetModified(); isyslog("SVDRP < %s modified timer %s (%s)", *connection, *Timer->ToDescr(), Timer->HasFlags(tfActive) ? "active" : "inactive"); - Reply(250, "%d %s", Timer->Id(), *Timer->ToText()); + Reply(250, "%d %s", Timer->Id(), *Timer->ToText(true)); } else Reply(501, "Timer \"%d\" not defined", Id); @@ -2002,7 +2002,7 @@ void cSVDRPServer::CmdNEWT(const char *Option) LOCK_TIMERS_WRITE; Timers->Add(Timer); isyslog("SVDRP < %s added timer %s", *connection, *Timer->ToDescr()); - Reply(250, "%d %s", Timer->Id(), *Timer->ToText()); + Reply(250, "%d %s", Timer->Id(), *Timer->ToText(true)); return; } else @@ -2261,7 +2261,7 @@ void cSVDRPServer::CmdUPDT(const char *Option) Timers->Add(Timer); isyslog("SVDRP < %s added timer %s", *connection, *Timer->ToDescr()); } - Reply(250, "%d %s", Timer->Id(), *Timer->ToText()); + Reply(250, "%d %s", Timer->Id(), *Timer->ToText(true)); return; } else |