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 /config.c | |
parent | 54b4d4e4e752ce10142c1f0c61f39c3782e460d9 (diff) | |
download | vdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.gz vdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.bz2 |
Introduced 'operator const void * ()' in cString
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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")) { |