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 /plugin.c | |
parent | 54b4d4e4e752ce10142c1f0c61f39c3782e460d9 (diff) | |
download | vdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.gz vdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.bz2 |
Introduced 'operator const void * ()' in cString
Diffstat (limited to 'plugin.c')
-rw-r--r-- | plugin.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: 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 ------------------------------------------------------------------ |