/[projects]/smsdaemon/plugins/TogPlugin.cpp
ViewVC logotype

Diff of /smsdaemon/plugins/TogPlugin.cpp

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

revision 79 by torben, Thu Jun 12 12:43:29 2008 UTC revision 80 by torben, Sun Jun 15 18:57:00 2008 UTC
# Line 7  Line 7 
7  #include <iostream>  #include <iostream>
8  #include <sstream>  #include <sstream>
9    
10    #include "common.h"
11    
12  using namespace std;  using namespace std;
13    
14    
# Line 84  void TogPlugin::Execute(IGsmModem& modem Line 86  void TogPlugin::Execute(IGsmModem& modem
86          {          {
87                  infos = GetTrainInfo( code , "" );                  infos = GetTrainInfo( code , "" );
88          }          }
89          catch(...)          catch(std::exception& e)
90          {          {
91                  modem.SendSms(sms.sender, "Connection timeout", false );                  modem.SendSms(sms.sender, e.what(), false );
92                  return;                  return;
93          }          }
94    

Legend:
Removed from v.79  
changed lines
  Added in v.80

  ViewVC Help
Powered by ViewVC 1.1.20