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

Diff of /smsdaemon/plugins/ShellExecPlugin.cpp

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

revision 141 by torben, Thu Jun 19 14:47:52 2008 UTC revision 142 by torben, Sun Dec 7 15:51:02 2008 UTC
# Line 18  void ShellExecPlugin::Execute(IGsmModem& Line 18  void ShellExecPlugin::Execute(IGsmModem&
18    
19          if (_allowParameters)          if (_allowParameters)
20          {          {
21                  std::string parameters = GetSmsData(sms);                  std::string parameters = sms.ExtractParameters();
22    
23                  parameters = Util::str_replace(parameters, "||");                  parameters = Util::str_replace(parameters, "||");
24                  parameters = Util::str_replace(parameters, "&&");                  parameters = Util::str_replace(parameters, "&&");
# Line 48  void ShellExecPlugin::Execute(IGsmModem& Line 48  void ShellExecPlugin::Execute(IGsmModem&
48                          message = "OK";                          message = "OK";
49          }          }
50                    
51          modem.SendSms(sms.sender, message, false );          modem.SendSms(sms.GetSender(), message, false );
52  }  }

Legend:
Removed from v.141  
changed lines
  Added in v.142

  ViewVC Help
Powered by ViewVC 1.1.20