removed debug info

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-10-20 13:37:53 +00:00
parent 6ea39194db
commit 331212c010

View File

@ -24,6 +24,8 @@
#include <dlfcn.h> #include <dlfcn.h>
#endif #endif
// #define DEBUG_PLUGIN_MANAGER 1
std::string RsPluginManager::_plugin_entry_symbol = "RETROSHARE_PLUGIN_provide" ; std::string RsPluginManager::_plugin_entry_symbol = "RETROSHARE_PLUGIN_provide" ;
std::string RsPluginManager::_plugin_revision_symbol = "RETROSHARE_PLUGIN_revision" ; std::string RsPluginManager::_plugin_revision_symbol = "RETROSHARE_PLUGIN_revision" ;
std::string RsPluginManager::_plugin_API_symbol = "RETROSHARE_PLUGIN_api" ; std::string RsPluginManager::_plugin_API_symbol = "RETROSHARE_PLUGIN_api" ;
@ -367,7 +369,9 @@ void RsPluginManager::slowTickPlugins(time_t seconds)
for(uint32_t i=0;i<_plugins.size();++i) for(uint32_t i=0;i<_plugins.size();++i)
if(_plugins[i].plugin != NULL && _plugins[i].plugin->rs_cache_service() != NULL && (seconds % _plugins[i].plugin->rs_cache_service()->tickDelay() )) if(_plugins[i].plugin != NULL && _plugins[i].plugin->rs_cache_service() != NULL && (seconds % _plugins[i].plugin->rs_cache_service()->tickDelay() ))
{ {
#ifdef DEBUG_PLUGIN_MANAGER
std::cerr << " ticking plugin " << _plugins[i].plugin->getPluginName() << std::endl; std::cerr << " ticking plugin " << _plugins[i].plugin->getPluginName() << std::endl;
#endif
_plugins[i].plugin->rs_cache_service()->tick() ; _plugins[i].plugin->rs_cache_service()->tick() ;
} }
} }