summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-09-13 13:57:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-09-13 13:57:51 +0200
commitbfc3f1f4b2be0cad91d3aa8781c564ff20927063 (patch)
treea32ab036015018fa2999c942376b48a53b243e50 /svdrp.c
parent2b20b9e064413cec0d6999ed545ebd7d9c7b1f2c (diff)
downloadvdr-bfc3f1f4b2be0cad91d3aa8781c564ff20927063.tar.gz
vdr-bfc3f1f4b2be0cad91d3aa8781c564ff20927063.tar.bz2
Fixed moving currently recording timers between machines
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 a57d58ca..8b2e04ce 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.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