mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
fixed connexion of setInterfaces for all plugins
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5001 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c843a047ff
commit
0d8f65d480
@ -50,11 +50,10 @@ void RsPluginManager::setInterfaces(RsPlugInInterfaces &interfaces)
|
||||
std::cerr << "RsPluginManager::setInterfaces() " << std::endl;
|
||||
|
||||
for(uint32_t i=0;i<_plugins.size();++i)
|
||||
|
||||
if(_plugins[i].plugin != NULL && _plugins[i].plugin->rs_cache_service() != NULL)
|
||||
if(_plugins[i].plugin != NULL)
|
||||
{
|
||||
_plugins[i].plugin->setInterfaces(interfaces);
|
||||
std::cerr << " setting iterface for plugin " << _plugins[i].plugin->getPluginName() << ", with RS_ID " << _plugins[i].plugin->rs_service_id() << std::endl ;
|
||||
_plugins[i].plugin->setInterfaces(interfaces);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user