summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-10-20 09:57:55 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-10-20 09:57:55 +0200
commit4ea90cefe831c52777f1be0877b499f432529cc7 (patch)
treed8e7cda0e82d04728b71b4c3c3250dd5b06486a8 /svdrp.c
parent97eb54738f55e8a7682a662be9492792bb23ad33 (diff)
downloadvdr-4ea90cefe831c52777f1be0877b499f432529cc7.tar.gz
vdr-4ea90cefe831c52777f1be0877b499f432529cc7.tar.bz2
Fixed some compiler warnings with gcc-4.6.3
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/svdrp.c b/svdrp.c
index 7f91479f..4e7665b9 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 3.3 2013/10/14 09:49:38 kls Exp $
+ * $Id: svdrp.c 3.4 2013/10/20 09:53:13 kls Exp $
*/
#include "svdrp.h"
@@ -686,7 +686,7 @@ void cSVDRP::CmdDELR(const char *Option)
cRecording *recording = recordings.Get(strtol(Option, NULL, 10) - 1);
if (recording) {
if (int RecordingInUse = recording->IsInUse())
- Reply(550, RecordingInUseMessage(RecordingInUse, Option, recording));
+ Reply(550, "%s", *RecordingInUseMessage(RecordingInUse, Option, recording));
else {
if (recording->Delete()) {
Reply(250, "Recording \"%s\" deleted", Option);
@@ -1564,7 +1564,7 @@ void cSVDRP::CmdRENR(const char *Option)
cRecording *recording = recordings.Get(strtol(num, NULL, 10) - 1);
if (recording) {
if (int RecordingInUse = recording->IsInUse())
- Reply(550, RecordingInUseMessage(RecordingInUse, Option, recording));
+ Reply(550, "%s", *RecordingInUseMessage(RecordingInUse, Option, recording));
else {
if (c)
option = skipspace(++option);