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

Diff of /smsdaemon/SmsDaemon.cpp

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

revision 180 by torben, Fri Dec 12 12:54:27 2008 UTC revision 205 by torben, Fri Dec 19 22:29:25 2008 UTC
# Line 52  void SmsDaemon::CheckSms() Line 52  void SmsDaemon::CheckSms()
52          for (unsigned int i=0; i<sms.size(); ++i)          for (unsigned int i=0; i<sms.size(); ++i)
53          {          {
54                  string cmd = sms[i].ExtractCommand();                  string cmd = sms[i].ExtractCommand();
55                            
56                  cmd = Util::str_tolower(cmd);                  cmd = Util::str_tolower(cmd);
57    
58                  Plugin* pl = manager->GetPlugin(cmd);                  Plugin* pl = manager->GetPlugin(cmd);
# Line 116  void SmsDaemon::Start() Line 116  void SmsDaemon::Start()
116          Logger::logMessage("SMS daemon started");          Logger::logMessage("SMS daemon started");
117    
118          _modem.DeleteAllSms();          _modem.DeleteAllSms();
119            
120          try          try
121          {          {
122                  MainLoop();                  MainLoop();
# Line 130  void SmsDaemon::Start() Line 130  void SmsDaemon::Start()
130                  Logger::logMessage( "Caught unknown exception" );                  Logger::logMessage( "Caught unknown exception" );
131          }          }
132    
133            cmn->GetPluginManager()->DestroyPlugins();
134    
135          Logger::logMessage( cmn->getStatusMessage() );          Logger::logMessage( cmn->getStatusMessage() );
136  }  }

Legend:
Removed from v.180  
changed lines
  Added in v.205

  ViewVC Help
Powered by ViewVC 1.1.20