diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-12-19 16:33:34 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-12-19 16:33:34 +0100 |
commit | 1d3495a0f09b1949efbba553a3d2a152ad2be617 (patch) | |
tree | d519a09e03943565fc634fc131ac7eeccb330174 /PLUGINS/src/sky | |
parent | 9a8ef2b6c26aefe51e33db804a75ff5cfdb592f4 (diff) | |
download | vdr-1d3495a0f09b1949efbba553a3d2a152ad2be617.tar.gz vdr-1d3495a0f09b1949efbba553a3d2a152ad2be617.tar.bz2 |
Made several functions threadsafe
Diffstat (limited to 'PLUGINS/src/sky')
-rw-r--r-- | PLUGINS/src/sky/HISTORY | 4 | ||||
-rw-r--r-- | PLUGINS/src/sky/sky.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/PLUGINS/src/sky/HISTORY b/PLUGINS/src/sky/HISTORY index 490ee62b..f1f22a69 100644 --- a/PLUGINS/src/sky/HISTORY +++ b/PLUGINS/src/sky/HISTORY @@ -32,3 +32,7 @@ VDR Plugin 'sky' Revision History 2004-12-12: Version 0.3.2 - Changed Apid access in cChannel. + +2004-12-19: Version 0.3.3 + +- Made several functions threadsafe. diff --git a/PLUGINS/src/sky/sky.c b/PLUGINS/src/sky/sky.c index 8936774e..49afea1d 100644 --- a/PLUGINS/src/sky/sky.c +++ b/PLUGINS/src/sky/sky.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: sky.c 1.8 2004/12/12 14:27:33 kls Exp $ + * $Id: sky.c 1.9 2004/12/19 15:33:47 kls Exp $ */ #include <sys/socket.h> @@ -14,7 +14,7 @@ #include <vdr/plugin.h> #include <vdr/sources.h> -static const char *VERSION = "0.3.2"; +static const char *VERSION = "0.3.3"; static const char *DESCRIPTION = "Sky Digibox interface"; // --- cDigiboxDevice -------------------------------------------------------- @@ -273,7 +273,7 @@ bool cPluginSky::Initialize(void) // Initialize any background activities the plugin shall perform. const char *ConfigDir = ConfigDirectory(Name()); if (ConfigDir) { - if (SkyChannels.Load(AddDirectory(ConfigDir, "channels.conf.sky"), true)) { + if (SkyChannels.Load(*cAddDirectory(ConfigDir, "channels.conf.sky"), true)) { new cDigiboxDevice; return true; } |