summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-17 13:47:12 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-17 13:47:12 +0100
commitdc7c5464fc07b31b904ea8118f104a7cb289dd24 (patch)
tree9132d34f62d493b6d66059003eb36eb341a36ef1 /svdrp.c
parent54b4d4e4e752ce10142c1f0c61f39c3782e460d9 (diff)
downloadvdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.gz
vdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.bz2
Introduced 'operator const void * ()' in cString
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svdrp.c b/svdrp.c
index 38e51942..4317535a 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 1.108 2008/02/15 15:10:49 kls Exp $
+ * $Id: svdrp.c 1.109 2008/02/17 13:36:01 kls Exp $
*/
#include "svdrp.h"
@@ -1420,7 +1420,7 @@ void cSVDRP::CmdPLUG(const char *Option)
else {
int ReplyCode = 900;
cString s = plugin->SVDRPCommand(cmd, option, ReplyCode);
- if (s)
+ if (*s)
Reply(abs(ReplyCode), "%s", *s);
else
Reply(500, "Command unrecognized: \"%s\"", cmd);