summaryrefslogtreecommitdiff
path: root/plugin.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 /plugin.c
parent54b4d4e4e752ce10142c1f0c61f39c3782e460d9 (diff)
downloadvdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.gz
vdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.bz2
Introduced 'operator const void * ()' in cString
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.c b/plugin.c
index 9193125e..8fab11fa 100644
--- a/plugin.c
+++ b/plugin.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: plugin.c 1.27 2008/02/10 16:05:46 kls Exp $
+ * $Id: plugin.c 1.28 2008/02/17 13:32:12 kls Exp $
*/
#include "plugin.h"
@@ -146,7 +146,7 @@ const char *cPlugin::ConfigDirectory(const char *PluginName)
if (!cThread::IsMainThread())
esyslog("ERROR: plugin '%s' called cPlugin::ConfigDirectory(), which is not thread safe!", PluginName ? PluginName : "<no name given>");
buffer = cString::sprintf("%s/plugins%s%s", configDirectory, PluginName ? "/" : "", PluginName ? PluginName : "");
- return MakeDirs(buffer, true) ? buffer : NULL;
+ return MakeDirs(buffer, true) ? *buffer : NULL;
}
// --- cDll ------------------------------------------------------------------