/[projects]/smsdaemon/PluginManager.cpp
ViewVC logotype

Diff of /smsdaemon/PluginManager.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 217 by torben, Tue Dec 23 14:20:43 2008 UTC revision 222 by torben, Fri Apr 10 20:00:07 2009 UTC
# Line 165  Plugin* PluginManager::GetPlugin(const s Line 165  Plugin* PluginManager::GetPlugin(const s
165  {  {
166          static ProxyPlugin proxy;          static ProxyPlugin proxy;
167    
168          Plugin* pl = _plugins[ pluginname ];          std::map<std::string,Plugin*>::iterator it = _plugins.find(pluginname );
169    
170          if (pl)          if (it != _plugins.end() )
171          {          {
172                  proxy.SetPlugin(pl);                  proxy.SetPlugin(it->second);
173                  return &proxy;                  return &proxy;
174          }          }
175          else          else

Legend:
Removed from v.217  
changed lines
  Added in v.222

  ViewVC Help
Powered by ViewVC 1.1.20