diff options
author | methodus <methodus@web.de> | 2012-10-04 06:12:02 +0200 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-10-04 06:12:02 +0200 |
commit | 14ed7bbd4d5ebbfd83d39af16d2185432d63a808 (patch) | |
tree | 2687028e72e42dbcabb66821efb5436cc5283acd /media | |
parent | ff396d8c1f4da02266c4d1758901144b521214de (diff) | |
download | vdr-plugin-upnp-14ed7bbd4d5ebbfd83d39af16d2185432d63a808.tar.gz vdr-plugin-upnp-14ed7bbd4d5ebbfd83d39af16d2185432d63a808.tar.bz2 |
Finnally got the plugin interface working, hurray...
Diffstat (limited to 'media')
-rw-r--r-- | media/pluginManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/pluginManager.cpp b/media/pluginManager.cpp index 9c4cafd..280f0c9 100644 --- a/media/pluginManager.cpp +++ b/media/pluginManager.cpp @@ -323,7 +323,7 @@ bool upnp::cPluginManager::DLL::Load(){ if(handle) return true; - handle = dlopen(file.c_str(), RTLD_NOW); + handle = dlopen(file.c_str(), RTLD_LAZY); const char* error = dlerror(); if(!error){ @@ -343,7 +343,7 @@ bool upnp::cPluginManager::DLL::Load(){ cerr << error << endl; } } else { - cerr << error << endl; + cerr << "Error while opening plugin: " << error << endl; } return false; |