summaryrefslogtreecommitdiff
path: root/config.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 /config.c
parent54b4d4e4e752ce10142c1f0c61f39c3782e460d9 (diff)
downloadvdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.gz
vdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.bz2
Introduced 'operator const void * ()' in cString
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index aa72b06c..090a6a1d 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 1.160 2008/02/10 15:48:17 kls Exp $
+ * $Id: config.c 1.161 2008/02/17 13:39:00 kls Exp $
*/
#include "config.h"
@@ -65,7 +65,7 @@ const char *cCommand::Execute(const char *Parameters)
cString cmdbuf;
if (Parameters)
cmdbuf = cString::sprintf("%s %s", command, Parameters);
- const char *cmd = cmdbuf ? cmdbuf : command;
+ const char *cmd = *cmdbuf ? *cmdbuf : command;
dsyslog("executing command '%s'", cmd);
cPipe p;
if (p.Open(cmd, "r")) {