diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-17 13:47:12 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-17 13:47:12 +0100 |
commit | dc7c5464fc07b31b904ea8118f104a7cb289dd24 (patch) | |
tree | 9132d34f62d493b6d66059003eb36eb341a36ef1 /svdrp.c | |
parent | 54b4d4e4e752ce10142c1f0c61f39c3782e460d9 (diff) | |
download | vdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.gz vdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.bz2 |
Introduced 'operator const void * ()' in cString
Diffstat (limited to 'svdrp.c')
-rw-r--r-- | svdrp.c | 4 |
1 files changed, 2 insertions, 2 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 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); |